mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-03 19:49:09 -04:00
Sort albums first
This commit is contained in:
@@ -48,6 +48,9 @@ class Albums_Controller extends Items_Controller {
|
||||
}
|
||||
}
|
||||
|
||||
// Sort albums first (http://galleryproject.org/node/88378)
|
||||
$album->sort_column = "type` ASC, `".$album->sort_column;
|
||||
|
||||
$page = $input->get("page", "1");
|
||||
$children_count = $album->viewable()->children_count();
|
||||
$offset = ($page - 1) * $page_size;
|
||||
|
||||
Reference in New Issue
Block a user