mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Added new custom filters for Not in Last/Next for date filters (#4816)
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
@@ -24,7 +24,9 @@ export const possibleFilterTypes = {
|
||||
{ key: filterTypes.LESS_THAN, value: 'is before' },
|
||||
{ key: filterTypes.GREATER_THAN, value: 'is after' },
|
||||
{ key: filterTypes.IN_LAST, value: 'in the last' },
|
||||
{ key: filterTypes.IN_NEXT, value: 'in the next' }
|
||||
{ key: filterTypes.NOT_IN_LAST, value: 'not in the last' },
|
||||
{ key: filterTypes.IN_NEXT, value: 'in the next' },
|
||||
{ key: filterTypes.NOT_IN_NEXT, value: 'not in the next' }
|
||||
],
|
||||
|
||||
[EXACT]: [
|
||||
|
@@ -3,7 +3,9 @@ export const EQUAL = 'equal';
|
||||
export const GREATER_THAN = 'greaterThan';
|
||||
export const GREATER_THAN_OR_EQUAL = 'greaterThanOrEqual';
|
||||
export const IN_LAST = 'inLast';
|
||||
export const NOT_IN_LAST = 'notInLast';
|
||||
export const IN_NEXT = 'inNext';
|
||||
export const NOT_IN_NEXT = 'notInNext';
|
||||
export const LESS_THAN = 'lessThan';
|
||||
export const LESS_THAN_OR_EQUAL = 'lessThanOrEqual';
|
||||
export const NOT_CONTAINS = 'notContains';
|
||||
@@ -17,5 +19,9 @@ export const all = [
|
||||
LESS_THAN,
|
||||
LESS_THAN_OR_EQUAL,
|
||||
NOT_CONTAINS,
|
||||
NOT_EQUAL
|
||||
NOT_EQUAL,
|
||||
IN_LAST,
|
||||
NOT_IN_LAST,
|
||||
IN_NEXT,
|
||||
NOT_IN_NEXT
|
||||
];
|
||||
|
Reference in New Issue
Block a user