diff --git a/dashboard-ui/movies.html b/dashboard-ui/movies.html
index 64ef0d20c6..af377ff826 100644
--- a/dashboard-ui/movies.html
+++ b/dashboard-ui/movies.html
@@ -94,6 +94,20 @@
+
+
diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js
index a3b3dc5df6..bd1e247789 100644
--- a/dashboard-ui/scripts/movies.js
+++ b/dashboard-ui/scripts/movies.js
@@ -127,6 +127,23 @@
reloadItems(page);
});
+
+ $('.chkVideoTypeFilter', this).on('change', function () {
+
+ var filterName = this.getAttribute('data-filter');
+ var filters = query.VideoTypes || "";
+
+ filters = (',' + filters).replace(',' + filterName, '').substring(1);
+
+ if (this.checked) {
+ filters = filters ? (filters + ',' + filterName) : filterName;
+ }
+
+ query.VideoTypes = filters;
+
+ reloadItems(page);
+ });
+
}).on('pageshow', "#moviesPage", function () {
reloadItems(this);
@@ -152,6 +169,15 @@
this.checked = filters.indexOf(',' + filterName) != -1;
}).checkboxradio('refresh');
+
+ $('.chkVideoTypeFilter', this).each(function () {
+
+ var filters = "," + (query.VideoTypes || "");
+ var filterName = this.getAttribute('data-filter');
+
+ this.checked = filters.indexOf(',' + filterName) != -1;
+
+ }).checkboxradio('refresh');
});
})(jQuery, document);
\ No newline at end of file