From c3ad0b7512941eed0ddeee7db1c98f69f4cb20a0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 29 Mar 2011 14:10:12 +0400 Subject: [PATCH] mobile: properly load additional headlines when browsing categories (closes #329) --- mobile/functions.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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...
  • "; -- 2.39.5