1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

fix some issues in infinite scrolling

This commit is contained in:
Andrew Dolgov
2007-08-24 06:31:57 +01:00
parent 4ab4d3640b
commit 29dfb258c9
4 changed files with 40 additions and 36 deletions

View File

@@ -221,11 +221,16 @@
print "<headlines id=\"$feed\"><![CDATA[";
$topmost_article_ids = outputHeadlinesList($link, $feed, $subop,
$ret = outputHeadlinesList($link, $feed, $subop,
$view_mode, $limit, $cat_view, $next_unread_feed, $offset);
$topmost_article_ids = $ret[0];
$headlines_count = $ret[1];
print "]]></headlines>";
print "<headlines-count value=\"$headlines_count\"/>";
if ($_GET["debug"]) $timing_info = print_checkpoint("10", $timing_info);
if (is_array($topmost_article_ids) && !get_pref($link, 'COMBINED_DISPLAY_MODE')) {