mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-19 13:25:36 -04:00
New albums should take the sort order from their parent. Fixes #1599.
This commit is contained in:
@@ -254,6 +254,8 @@ class Server_Add_Controller extends Admin_Controller {
|
||||
$album->name = $name;
|
||||
$album->title = $title;
|
||||
$album->owner_id = $owner_id;
|
||||
$album->sort_order = $parent->sort_order;
|
||||
$album->sort_column = $parent->sort_column;
|
||||
$album->save();
|
||||
$entry->item_id = $album->id;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user