summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-25 17:21:11 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-25 17:21:11 +0000
commit944276fdfe813d99c3a7bc2c37c267c68be98ae6 (patch)
tree9286d01f6e69a12ab225b3d2f1dba1bacb0d3687
parent3cb2c42e49b008facff1563b0e9b1d5b5c67e77c (diff)
Fix for ticket #184. Set the default album sort order to "Title"
-rw-r--r--core/helpers/album.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php
index ecb8b5ff..ff091b10 100644
--- a/core/helpers/album.php
+++ b/core/helpers/album.php
@@ -46,7 +46,7 @@ class album_Core {
$album->thumb_dirty = 1;
$album->resize_dirty = 1;
$album->rand_key = ((float)mt_rand()) / (float)mt_getrandmax();
- $album->sort_column = "id";
+ $album->sort_column = "title";
$album->sort_order = "ASC";
while (ORM::factory("item")