From: Andrew Dolgov Date: Tue, 29 Mar 2011 10:10:12 +0000 (+0400) Subject: mobile: properly load additional headlines when browsing categories (closes #329) X-Git-Tag: 1.5.3~94 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c3ad0b7512941eed0ddeee7db1c98f69f4cb20a0;p=tt-rss.git mobile: properly load additional headlines when browsing categories (closes #329) --- diff --git a/mobile/functions.php b/mobile/functions.php index 3d3cdc66..6e5d1daf 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 "
  • Get more articles...
  • ";