mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added unaired/missing indicators
This commit is contained in:
parent
b23426bb93
commit
eeb941062b
3 changed files with 34 additions and 11 deletions
|
@ -180,18 +180,22 @@
|
|||
|
||||
$('#chkMissingEpisode', this).on('change', function () {
|
||||
|
||||
query.LocationTypes = this.checked ? "virtual" : null;
|
||||
var futureChecked = $('#chkFutureEpisode', page).checked();
|
||||
|
||||
query.LocationTypes = this.checked || futureChecked ? "virtual" : null;
|
||||
query.HasPremiereDate = this.checked || futureChecked ? true : null;
|
||||
query.MaxPremiereDate = this.checked ? getDateFormat(new Date()) : null;
|
||||
query.HasPremiereDate = this.checked ? true : null;
|
||||
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
$('#chkFutureEpisode', this).on('change', function () {
|
||||
|
||||
query.LocationTypes = this.checked ? "virtual" : null;
|
||||
var missingChecked = $('#chkMissingEpisode', page).checked();
|
||||
|
||||
query.LocationTypes = this.checked || missingChecked ? "virtual" : null;
|
||||
query.HasPremiereDate = this.checked || missingChecked ? true : null;
|
||||
query.MinPremiereDate = this.checked ? getDateFormat(new Date()) : null;
|
||||
query.HasPremiereDate = this.checked ? true : null;
|
||||
|
||||
reloadItems(page);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue