diff --git a/src/LaravelController.php b/src/LaravelController.php index 79a4c60..45058e9 100644 --- a/src/LaravelController.php +++ b/src/LaravelController.php @@ -116,7 +116,7 @@ protected function parseFilterGroups(array $filter_groups) $return[] = [ 'filters' => $filters, - 'or' => isset($group['or']) ? $group['or'] : false + 'or' => isset($group['or']) ? filter_var($group['or'], FILTER_VALIDATE_BOOLEAN) : false ]; }