mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add IMDB, TMDB and TVDB missing filters
This commit is contained in:
parent
56b97cc5ef
commit
93f483f0ae
2 changed files with 36 additions and 1 deletions
|
@ -502,8 +502,10 @@
|
|||
$('#chkMissingRating', page).checked(query.HasOfficialRating == false).checkboxradio('refresh');
|
||||
$('#chkMissingOverview', page).checked(query.HasOverview == false).checkboxradio('refresh');
|
||||
$('#chkYearMismatch', page).checked(query.IsYearMismatched == true).checkboxradio('refresh');
|
||||
|
||||
$('#chkIsLocked', page).checked(query.IsLocked == true).checkboxradio('refresh');
|
||||
$('#chkMissingImdbId', page).checked(query.HasImdbId == false).checkboxradio('refresh');
|
||||
$('#chkMissingTmdbId', page).checked(query.HasTmdbId == false).checkboxradio('refresh');
|
||||
$('#chkMissingTvdbId', page).checked(query.HasTvdbId == false).checkboxradio('refresh');
|
||||
|
||||
//Episodes
|
||||
$('#chkSpecialEpisode', page).checked(query.ParentIndexNumber == 0).checkboxradio('refresh');
|
||||
|
@ -758,6 +760,30 @@
|
|||
reloadItems(page);
|
||||
});
|
||||
|
||||
$('#chkMissingImdbId', page).on('change', function () {
|
||||
|
||||
query.StartIndex = 0;
|
||||
query.HasImdbId = this.checked ? false : null;
|
||||
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
$('#chkMissingTmdbId', page).on('change', function () {
|
||||
|
||||
query.StartIndex = 0;
|
||||
query.HasTmdbId = this.checked ? false : null;
|
||||
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
$('#chkMissingTvdbId', page).on('change', function () {
|
||||
|
||||
query.StartIndex = 0;
|
||||
query.HasTvdbId = this.checked ? false : null;
|
||||
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
$('#chkYearMismatch', page).on('change', function () {
|
||||
|
||||
query.StartIndex = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue