forked from Public/pics
Tag: invert behaviour of getCount and getOffset methods
This commit is contained in:
@@ -59,10 +59,10 @@ class ManageAlbums extends HTMLController
|
||||
'items_per_page' => 9999,
|
||||
'base_url' => BASEURL . '/managealbums/',
|
||||
'get_data' => function($offset, $limit, $order, $direction) {
|
||||
return Tag::getOffset($offset, $limit, $order, $direction, true);
|
||||
return Tag::getOffset($offset, $limit, $order, $direction);
|
||||
},
|
||||
'get_count' => function() {
|
||||
return Tag::getCount(false, 'Album', true);
|
||||
return Tag::getCount(false, 'Album');
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user