mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
add IMDB, TMDB and TVDB missing filters
This commit is contained in:
parent
56b97cc5ef
commit
93f483f0ae
@ -131,6 +131,15 @@
|
||||
|
||||
<input class="chkYearMismatch" type="checkbox" name="chkYearMismatch" id="chkYearMismatch">
|
||||
<label for="chkYearMismatch">${OptionFileMetadataYearMismatch}</label>
|
||||
|
||||
<input class="chkMissingImdbId" type="checkbox" name="chkMissingImdbId" id="chkMissingImdbId">
|
||||
<label for="chkMissingImdbId">${OptionMissingImdbId}</label>
|
||||
|
||||
<input class="chkMissingTmdbId" type="checkbox" name="chkMissingTmdbId" id="chkMissingTmdbId">
|
||||
<label for="chkMissingTmdbId">${OptionMissingTmdbId}</label>
|
||||
|
||||
<input class="chkMissingTvdbId" type="checkbox" name="chkMissingTvdbId" id="chkMissingTvdbId">
|
||||
<label for="chkMissingTvdbId">${OptionMissingTvdbId}</label>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset data-role="collapsible" data-collapsed="true" data-mini="true" id="GroupStatus">
|
||||
|
@ -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…
Reference in New Issue
Block a user