Fixed: Add filterPredicates for InCinemas and PhysicalRelease

Fixes #3885
pull/3916/head
Qstick 5 years ago
parent 99bf3cf3ba
commit 95e5e3132b

@ -116,6 +116,14 @@ export const filterPredicates = {
return dateFilterPredicate(item.added, filterValue, type);
},
inCinemas: function(item, filterValue, type) {
return dateFilterPredicate(item.inCinemas, filterValue, type);
},
physicalRelease: function(item, filterValue, type) {
return dateFilterPredicate(item.physicalRelease, filterValue, type);
},
ratings: function(item, filterValue, type) {
const predicate = filterTypePredicates[type];

Loading…
Cancel
Save