From 337535416f3d75f94a34c64e785f1c2200844013 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 31 Mar 2017 11:21:35 +0300 Subject: filter by search results while marking feed as read --- js/viewfeed.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/viewfeed.js') 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']; -- cgit v1.2.3-54-g00ecf