fix song sorting

This commit is contained in:
Luke Pulverenti 2016-01-07 11:34:48 -05:00
parent 9fb1452f93
commit 5c24b145bc

View File

@ -48,6 +48,10 @@
var type = getParameterByName('type'); var type = getParameterByName('type');
if (type) { if (type) {
pageData.query.IncludeItemTypes = type; pageData.query.IncludeItemTypes = type;
if (type == 'Audio') {
pageData.query.SortBy = 'Album,SortName';
}
} }
var filters = getParameterByName('filters'); var filters = getParameterByName('filters');