Skip to content

Commit 552056f

Browse files
committed
Add resolution as filter field
1 parent 22167e9 commit 552056f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jc21/Util/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(string $field, string $value, string $operator = '='
4343
throw new Exception("Invalid filter operator");
4444
}
4545

46-
if (!in_array($field, ['title', 'rating', 'contentRating', 'year', 'studio'])) {
46+
if (!in_array($field, ['title', 'rating', 'contentRating', 'year', 'studio', 'resolution'])) {
4747
throw new Exception("Invalid filter field");
4848
}
4949

0 commit comments

Comments
 (0)