From: Andrew Dolgov Date: Sat, 17 May 2008 09:23:04 +0000 (+0100) Subject: viewfeed: only pass vgroup_last_feed info when using infsroll X-Git-Tag: 1.2.23-final~91 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=60d4df4dbeac9f770f40c56dd4c704526572d6b2;p=tt-rss.git viewfeed: only pass vgroup_last_feed info when using infsroll --- diff --git a/feedlist.js b/feedlist.js index e3f654d2..a7017f9c 100644 --- a/feedlist.js +++ b/feedlist.js @@ -135,6 +135,11 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { if (page_offset != 0) { query = query + "&skip=" + page_offset; + + // to prevent duplicate feed titles when showing grouped vfeeds + if (vgroup_last_feed) { + query = query + "&vgrlf=" + param_escape(vgroup_last_feed); + } } var date = new Date(); @@ -152,11 +157,6 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { query = query + "&omode=flc"; } - // to prevent duplicate feed titles when showing grouped vfeeds - if (vgroup_last_feed) { - query = query + "&vgrlf=" + param_escape(vgroup_last_feed); - } - debug(query); var container = document.getElementById("headlinesInnerContainer");