summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Zur <tzur@webserver.ccwn.org>2016-08-15 20:47:59 +0200
committerTristan Zur <tzur@webserver.ccwn.org>2016-08-15 20:47:59 +0200
commit854ca75400a8bae53f5fc708c87c822b02bbcda8 (patch)
tree4426bf264cad22c5a2b48750b648b45d1723185d
parent7e89c924dbe9a94105f97350bd8581f45196d716 (diff)
Default sort order changed to captured time
-rw-r--r--modules/gallery/models/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php
index c446eea..ec95420 100644
--- a/modules/gallery/models/item.php
+++ b/modules/gallery/models/item.php
@@ -32,7 +32,7 @@ class Item_Model_Core extends ORM_MPTT {
$this->rand_key = random::percent();
$this->thumb_dirty = 1;
$this->resize_dirty = 1;
- $this->sort_column = "created";
+ $this->sort_column = "captured";
$this->sort_order = "ASC";
$this->owner_id = identity::active_user()->id;
}