summaryrefslogtreecommitdiff
path: root/js/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-03-31 11:21:35 +0300
committerAndrew Dolgov <[email protected]>2017-03-31 11:21:35 +0300
commit337535416f3d75f94a34c64e785f1c2200844013 (patch)
tree4b58123da211193adda174a2c78b7e9979fa09a4 /js/viewfeed.js
parent86e534290e2c9ce772481e70aeb4148dde7539b4 (diff)
filter by search results while marking feed as read
Diffstat (limited to 'js/viewfeed.js')
-rwxr-xr-xjs/viewfeed.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 7cbcc08b6..3e2f97751 100755
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -13,6 +13,7 @@ var loaded_article_ids = [];
var _last_headlines_update = 0;
var _headlines_scroll_offset = 0;
var current_first_id = 0;
+var last_search_query;
var _catchup_request_sent = false;
@@ -38,6 +39,7 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
is_cat = reply['headlines']['is_cat'];
feed_id = reply['headlines']['id'];
+ last_search_query = reply['headlines']['search_query'];
if (background) {
var content = reply['headlines']['content'];