diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-01-17 20:12:26 +0100 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-01-17 20:12:26 +0100 |
commit | b44a7dc36adbf5716a2d313598ee9305eb5e2651 (patch) | |
tree | cd1d826c97e96331f5cf71e20080036d909cdb80 /apps | |
parent | 10aa2968957a3937b34c86f565c64324d676dba8 (diff) | |
download | nextcloud-server-b44a7dc36adbf5716a2d313598ee9305eb5e2651.tar.gz nextcloud-server-b44a7dc36adbf5716a2d313598ee9305eb5e2651.zip |
enhancement: oc-36
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gallery/lib/album.php | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |