aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/pagination.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 09:01:36 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 09:01:36 +0000
commit2e2f7ed68c055f7e19364db440fd31bd187ca500 (patch)
tree82dafeff0e393fa1d2f08a0d62a5e531be9621b8 /views/default/navigation/pagination.php
parent00179dc2e00176c2ebc19f214189dba62b012f78 (diff)
downloadelgg-2e2f7ed68c055f7e19364db440fd31bd187ca500.tar.gz
elgg-2e2f7ed68c055f7e19364db440fd31bd187ca500.tar.bz2
Altered pagination so that it does display if we already have an offset.
git-svn-id: https://code.elgg.org/elgg/trunk@1673 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/pagination.php')
-rw-r--r--views/default/navigation/pagination.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index 875579802..c8d961ea7 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -43,8 +43,8 @@
$baseurl = preg_replace('/[\&\?]'.$word.'\=[0-9]*/',"",$vars['baseurl']);
- //only display if there is content to paginate through
- if ($count >= $limit){
+ //only display if there is content to paginate through or if we already have an offset
+ if ($count >= $limit || $offset > 0){
?>