diff options
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r-- | lib/class/artist.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php index 552d9645..67171faa 100644 --- a/lib/class/artist.class.php +++ b/lib/class/artist.class.php @@ -138,7 +138,7 @@ class Artist { */ public function get_songs() { - $sql = "SELECT `song`.`id` FROM `song` WHERE `song`.`artist`='" . Dba::escape($this->id) . "'"; + $sql = "SELECT `song`.`id` FROM `song` WHERE `song`.`artist`='" . Dba::escape($this->id) . "' ORDER BY album, track"; $db_results = Dba::query($sql); while ($r = Dba::fetch_assoc($db_results)) { |