summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-03-29 14:10:12 +0400
committerAndrew Dolgov <[email protected]>2011-03-29 14:10:12 +0400
commitc3ad0b7512941eed0ddeee7db1c98f69f4cb20a0 (patch)
tree6977eab1281af5e3a92f3087ba72d5db34395faa /mobile
parent30a2fe5a2aa0d12ad1d36e751db9d18c4fa2ff7e (diff)
mobile: properly load additional headlines when browsing categories (closes #329)
Diffstat (limited to 'mobile')
-rw-r--r--mobile/functions.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/mobile/functions.php b/mobile/functions.php
index 3d3cdc660..6e5d1dafe 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -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>";