mobile: properly load additional headlines when browsing categories (closes #329)
This commit is contained in:
parent
30a2fe5a2a
commit
c3ad0b7512
|
@ -413,8 +413,13 @@
|
||||||
|
|
||||||
if ($num_headlines > 0 && ($num_unread == 0 || $num_unread > $next_offset)) {
|
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".
|
$articles_url = "feed.php?id=$feed_id&cat=$cat_id&skip=$next_offset".
|
||||||
"&search=$search";
|
"&search=$search";
|
||||||
|
}
|
||||||
|
|
||||||
print "<li><a href=\"$articles_url\"
|
print "<li><a href=\"$articles_url\"
|
||||||
target=\"_replace\">Get more articles...</a></li>";
|
target=\"_replace\">Get more articles...</a></li>";
|
||||||
|
|
Loading…
Reference in New Issue