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
1 changed files with 7 additions and 2 deletions

View File

@ -413,8 +413,13 @@
if ($num_headlines > 0 && ($num_unread == 0 || $num_unread > $next_offset)) {
$articles_url = "feed.php?id=$feed_id&cat=$cat_id&skip=$next_offset".
"&search=$search";
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>";