diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-07 01:28:10 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-07 01:28:10 +0000 |
commit | 98e60731b2bed10b7f9d746b1feaa73c4a2e9109 (patch) | |
tree | 4eeaf1fc70ef5c1fce09b5a72bbba1118f9320fb | |
parent | fc6bdbbbc829b38c020c190e06e3fe5892bac1a0 (diff) |
Allow sorting by Capture Date.
-rw-r--r-- | core/helpers/album.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php index 09385a19..bbd1acad 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -82,7 +82,7 @@ class album_Core { $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gEditAlbumForm")); $form->hidden("_method")->value("put"); $group = $form->group("edit_album")->label(t("Edit Album")); - + $group->input("title")->label(t("Title"))->value($parent->title); $group->textarea("description")->label(t("Description"))->value($parent->description); if ($parent->id != 1) { @@ -95,6 +95,7 @@ class album_Core { $sort_order->dropdown("column", array("id" => "gAlbumSortColumn")) ->label(t("Sort by")) ->options(array("weight" => t("Default"), + "captured" => t("Capture Date"), "created" => t("Creation Date"), "title" => t("Title"), "updated" => t("Updated Date"), |