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

fix premiere date params

This commit is contained in:
Luke Pulverenti 2013-10-24 14:38:57 -04:00
parent 4a999736b3
commit d2bbd5b4ad
3 changed files with 11 additions and 6 deletions

View file

@ -245,7 +245,10 @@
query.LocationTypes = this.checked || missingChecked ? "virtual" : null;
query.HasPremiereDate = this.checked || missingChecked ? true : null;
query.MinPremiereDate = this.checked ? LibraryBrowser.getDateParamValue(new Date()) : null;
var now = new Date();
query.MinPremiereDate = this.checked ? LibraryBrowser.getDateParamValue(new Date(now.getFullYear(), now.getMonth(), now.getDate())) : null;
reloadItems(page);
});