1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 18:35:57 +00:00

queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating

This commit is contained in:
Andrew Dolgov
2015-07-12 01:29:36 +03:00
parent 5f297a5c11
commit f5a0fb8b64
8 changed files with 186 additions and 18 deletions

View File

@@ -99,6 +99,10 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req, can_w
query = query + "&m=" + param_escape(method);
}
if (current_top_article_id && offset > 0) {
query = query + "&topid=" + param_escape(current_top_article_id);
}
if (!background) {
if (_search_query) {
force_nocache = true;