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:
parent
b922da75e8
commit
f6366f3b22
4 changed files with 24 additions and 4 deletions
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue