Tag: invert behaviour of getCount and getOffset methods
This commit is contained in:
@@ -18,7 +18,7 @@ class ViewPeople extends HTMLController
|
||||
|
||||
$page = isset($_GET['page']) ? (int) $_GET['page'] : 1;
|
||||
$start = ($page - 1) * self::PER_PAGE;
|
||||
$total_count = Tag::getCount(1, 'Person', true);
|
||||
$total_count = Tag::getCount(1, 'Person');
|
||||
|
||||
// Fetch subalbums.
|
||||
$subalbums = Tag::getPeople(0, $start, self::PER_PAGE);
|
||||
|
||||
Reference in New Issue
Block a user