1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

added IsOnTour artists filter

This commit is contained in:
Luke Pulverenti 2013-04-24 10:30:12 -04:00
parent b922da75e8
commit f6366f3b22
4 changed files with 24 additions and 4 deletions

View file

@ -353,7 +353,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "Movie",
Recursive: true,
Fields: "PrimaryImageAspectRatio,UserData,DisplayMediaType,ItemCounts,DateCreated",
Fields: "PrimaryImageAspectRatio,UserData,DisplayMediaType,ItemCounts,DateCreated,AudioInfo,SeriesInfo",
Limit: LibraryBrowser.getDetaultPageSize(),
StartIndex: 0
};

View file

@ -87,6 +87,13 @@
reloadItems(page);
});
$('#chkIsOnTour', this).on('change', function () {
query.IsOnTour = this.checked || null;
reloadItems(page);
});
}).on('pagebeforeshow', "#musicArtistsPage", function () {
reloadItems(this);
@ -105,6 +112,8 @@
this.checked = query.SortOrder == this.getAttribute('data-sortorder');
}).checkboxradio('refresh');
$('#chkIsOnTour', this).checked(query.IsOnTour === true).checkboxradio('refresh');
});
})(jQuery, document);