Sort songs also by path.
Add song_path in the ORDER BY. Fix oc-31.
This commit is contained in:
parent
ccad24a925
commit
d12afe0541
|
@ -243,7 +243,7 @@ class OC_MEDIA_COLLECTION{
|
|||
}else{
|
||||
$searchString='';
|
||||
}
|
||||
$query=OC_DB::prepare("SELECT * FROM *PREFIX*media_songs WHERE song_user=? $artistString $albumString $searchString ORDER BY song_track, song_name");
|
||||
$query=OC_DB::prepare("SELECT * FROM *PREFIX*media_songs WHERE song_user=? $artistString $albumString $searchString ORDER BY song_track, song_name, song_path");
|
||||
return $query->execute($params)->fetchAll();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue