1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-25 11:57:42 +02:00

mobile: properly load additional headlines when browsing categories (closes #329)

This commit is contained in:
Andrew Dolgov 2011-03-29 14:10:12 +04:00
parent 30a2fe5a2a
commit c3ad0b7512

View File

@ -413,8 +413,13 @@
if ($num_headlines > 0 && ($num_unread == 0 || $num_unread > $next_offset)) {
if ($is_cat) {
$articles_url = "feed.php?id=$feed_id&skip=$next_offset".
"&search=$search&is_cat=true";
} else {
$articles_url = "feed.php?id=$feed_id&cat=$cat_id&skip=$next_offset".
"&search=$search";
}
print "<li><a href=\"$articles_url\"
target=\"_replace\">Get more articles...</a></li>";