summaryrefslogtreecommitdiff
path: root/FisheyeGallery.php
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-10-10 12:10:20 +0000
committerNick Palmer <nick@sluggardy.net>2007-10-10 12:10:20 +0000
commit440761e8a0a41798de2c7c88c05d53858db4435e (patch)
tree3853c111bd84301113f6c048ecde3c7d5008d7c7 /FisheyeGallery.php
parentc8121bd419204e7d29c6fdcbdc65bdbd82c3909b (diff)
downloadfisheye-440761e8a0a41798de2c7c88c05d53858db4435e.tar.gz
fisheye-440761e8a0a41798de2c7c88c05d53858db4435e.tar.bz2
fisheye-440761e8a0a41798de2c7c88c05d53858db4435e.zip
Fix pagination in list_galleries.tpl
Modernize FisheyeGallery::getList to return data directly.
Diffstat (limited to 'FisheyeGallery.php')
-rw-r--r--FisheyeGallery.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php
index 67131a3..4351053 100644
--- a/FisheyeGallery.php
+++ b/FisheyeGallery.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.68 2007/10/03 16:01:20 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.69 2007/10/10 12:10:20 nickpalmer Exp $
* @package fisheye
*/
@@ -672,9 +672,10 @@ vd( $this->mErrors );
$whereSql";
$cant = $this->mDb->getOne( $query_c, $bindVars );
- $ret['cant'] = $cant;
- $ret['data'] = $data;
- return $ret;
+ // add all pagination info to $ret
+ $pListHash['cant'] = $cant;
+ LibertyContent::postGetList( $pListHash );
+ return $data;
}
}