viewfeed: only pass vgroup_last_feed info when using infsroll
This commit is contained in:
parent
962d8ba4e1
commit
60d4df4dbe
10
feedlist.js
10
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");
|
||||
|
|
Loading…
Reference in New Issue