From b44a7dc36adbf5716a2d313598ee9305eb5e2651 Mon Sep 17 00:00:00 2001 From: Bartek Przybylski Date: Tue, 17 Jan 2012 20:12:26 +0100 Subject: [PATCH] enhancement: oc-36 --- apps/gallery/lib/album.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/gallery/lib/album.php b/apps/gallery/lib/album.php index 72653c8de15..d2c420eb9ef 100644 --- a/apps/gallery/lib/album.php +++ b/apps/gallery/lib/album.php @@ -69,6 +69,8 @@ class OC_Gallery_Album { $sql .= ' AND album_path = ?'; $args[] = $path; } + $sql .= ' ORDER BY album_name ASC'; + $stmt = OC_DB::prepare($sql); return $stmt->execute($args); } -- 2.39.5