From 944276fdfe813d99c3a7bc2c37c267c68be98ae6 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 25 Mar 2009 17:21:11 +0000 Subject: Fix for ticket #184. Set the default album sort order to "Title" --- core/helpers/album.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers') 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") -- cgit v1.2.3