aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/search.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-12-01 23:43:12 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-12-01 23:43:12 +0100
commite5677b163b88d12ce7a94f03cb61ada236a5dd2b (patch)
treeb1d5b7ccee68ab3c766d3506c531963c340598e4 /pyaggr3g470r/search.py
parentThe /feeds page has benn slightly updated. (diff)
downloadnewspipe-e5677b163b88d12ce7a94f03cb61ada236a5dd2b.tar.gz
newspipe-e5677b163b88d12ce7a94f03cb61ada236a5dd2b.tar.bz2
newspipe-e5677b163b88d12ce7a94f03cb61ada236a5dd2b.zip
Minor improvements for the /search page.
Diffstat (limited to 'pyaggr3g470r/search.py')
-rw-r--r--pyaggr3g470r/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/search.py b/pyaggr3g470r/search.py
index 4a8df1d9..4b8602f7 100644
--- a/pyaggr3g470r/search.py
+++ b/pyaggr3g470r/search.py
@@ -111,7 +111,7 @@ def search(term):
results = searcher.search(query, limit=None)
for article in results:
result_dict[article["feed_id"]].append(article["article_id"])
- return result_dict
+ return result_dict, len(results)
def nb_documents():
"""
bgstack15