From 17de2a194c7501dc80a5716ad7b0207dca09b36c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 24 Jun 2019 01:04:52 +0200 Subject: [PATCH] Removed comment --- platypush/plugins/media/search/local.py | 1 - 1 file changed, 1 deletion(-) diff --git a/platypush/plugins/media/search/local.py b/platypush/plugins/media/search/local.py index 1faf58e6b..f3530a817 100644 --- a/platypush/plugins/media/search/local.py +++ b/platypush/plugins/media/search/local.py @@ -215,7 +215,6 @@ class LocalMediaSearcher(MediaSearcher): filter(MediaToken.token.in_(query_tokens)). \ group_by(MediaFile.path). \ having(func.count(MediaFileToken.token_id) >= len(query_tokens)): - # order_by(func.count(MediaFileToken.token_id).desc()): results[file_record.path] = { 'url': 'file://' + file_record.path, 'title': os.path.basename(file_record.path),