mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Add filterPredicates for InCinemas and PhysicalRelease
Fixes #3885
This commit is contained in:
@@ -116,6 +116,14 @@ export const filterPredicates = {
|
|||||||
return dateFilterPredicate(item.added, filterValue, type);
|
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) {
|
ratings: function(item, filterValue, type) {
|
||||||
const predicate = filterTypePredicates[type];
|
const predicate = filterTypePredicates[type];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user