Skip to content

Commit 3533155

Browse files
committed
added not equals operator
1 parent c6b3c8c commit 3533155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Matthenning/EloquentApiFilter/EloquentApiFilter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ private function getFilterOperator($filter)
309309
$operator = str_replace('lt', '<', $operator);
310310
$operator = str_replace('le', '<=', $operator);
311311
$operator = str_replace('eq', '=', $operator);
312+
$operator = str_replace('ne', '!=', $operator);
312313

313314
return $operator;
314315
}

0 commit comments

Comments
 (0)