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

add filters to folder browsing

This commit is contained in:
Luke Pulverenti 2013-04-18 22:52:22 -04:00
parent 8d53d9508c
commit 6ac9b1bd2a
9 changed files with 192 additions and 17 deletions

View file

@ -136,6 +136,15 @@
this.checked = filters.indexOf(',' + filterName) != -1;
}).checkboxradio('refresh');
$('.chkPersonTypeFilter', this).each(function () {
var filters = "," + (query.PersonTypes || "");
var filterName = this.getAttribute('data-filter');
this.checked = filters.indexOf(',' + filterName) != -1;
}).checkboxradio('refresh');
});
})(jQuery, document);