diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-17 14:41:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-17 14:41:05 +0000 |
commit | 0bbeb6aa28c6eb0e4dcf7d1b7d566575248b5c1a (patch) | |
tree | 779f76fee4bb8997fb33082d4b286bdde57e550a /lib | |
parent | 9a3f9011f7f31dcb25c4643a625e5cba77bf9101 (diff) | |
download | ampache-0bbeb6aa28c6eb0e4dcf7d1b7d566575248b5c1a.tar.gz ampache-0bbeb6aa28c6eb0e4dcf7d1b7d566575248b5c1a.tar.bz2 ampache-0bbeb6aa28c6eb0e4dcf7d1b7d566575248b5c1a.zip |
fixed the songs view that I broke
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/album.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php index 23628b5f..cb767b15 100644 --- a/lib/class/album.class.php +++ b/lib/class/album.class.php @@ -146,7 +146,7 @@ class Album { $artist_sql = "AND `artist`='" . Dba::escape($artist) . "'"; } - $sql = "SELECT `id` FROM `song` WHERE `album`='$this->id' $artist_sql ORDER BY `pos`, `track`, `title`"; + $sql = "SELECT `id` FROM `song` WHERE `album`='$this->id' $artist_sql ORDER BY `track`, `title`"; if ($limit) { $sql .= " LIMIT $limit"; } $db_results = Dba::query($sql); |