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

added new params for missing/unaired

This commit is contained in:
Luke Pulverenti 2013-10-26 18:01:21 -04:00
parent 77f0d460c4
commit eef5af361e
10 changed files with 84 additions and 40 deletions

View file

@ -245,7 +245,11 @@
getCollectionTypeOptionsHtml: function () {
return MediaLibraryPage.getCollectionTypeOptions().map(function (i) {
return MediaLibraryPage.getCollectionTypeOptions().filter(function(i) {
return i.isSelectable !== false;
}).map(function (i) {
return '<option value="' + i.value + '">' + i.name + '</option>';
@ -268,7 +272,7 @@
{ name: "Photos*", value: "photos" },
{ name: "Trailers", value: "trailers" },
{ name: "Adult videos", value: "adultvideos" },
{ name: "General or mixed content", value: "mixed" }
{ name: "General or mixed content", value: "mixed", isSelectable: false }
];
},