New albums should take the sort order from their parent. Fixes #1599.

This commit is contained in:
Bharat Mediratta
2011-01-10 19:24:38 -08:00
parent 23eaec7063
commit 9dfb733ad7
@@ -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 {