]> source.dussan.org Git - nextcloud-server.git/commitdiff
enhancement: oc-36
authorBartek Przybylski <bart.p.pl@gmail.com>
Tue, 17 Jan 2012 19:12:26 +0000 (20:12 +0100)
committerBartek Przybylski <bart.p.pl@gmail.com>
Tue, 17 Jan 2012 19:12:26 +0000 (20:12 +0100)
apps/gallery/lib/album.php

index 72653c8de15c0609d206498a18d9228bbd031599..d2c420eb9ef8b3943edebf00461d65252806f3a8 100644 (file)
@@ -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);
        }