summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-16 08:48:34 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-16 08:48:34 +0000
commit6f0ddb40576fe04b7d91e6fd993fe8d54ec27c1c (patch)
tree83a348f22915cb5b3574b71dd18a0f46671d014e
parenteac4e72a3b8aa3062f6aba5c76da85eff0ec6987 (diff)
Set the sort_column and sort_order for the root album
-rw-r--r--core/helpers/core_installer.php2
1 files changed, 2 insertions, 0 deletions
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);