From 6f0ddb40576fe04b7d91e6fd993fe8d54ec27c1c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 16 Mar 2009 08:48:34 +0000 Subject: Set the sort_column and sort_order for the root album --- core/helpers/core_installer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/helpers/core_installer.php') diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index 706ff548..83d99867 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -205,6 +205,8 @@ class core_installer { $root->level = 1; $root->thumb_dirty = 1; $root->resize_dirty = 1; + $root->sort_column = "id"; + $root->sort_order = "ASC"; $root->save(); access::add_item($root); -- cgit v1.2.3