]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed: only pass vgroup_last_feed info when using infsroll
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 09:23:04 +0000 (10:23 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 09:23:04 +0000 (10:23 +0100)
feedlist.js

index e3f654d2e1626970498c3f1b9e518217029c2b89..a7017f9cad479be81455e50889372135d7faf3d8 100644 (file)
@@ -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");