Skip to content

Commit

Permalink
Merge pull request #984 from yngc0der/patch-1
Browse files Browse the repository at this point in the history
Fix typo in filtering.md
  • Loading branch information
freekmurze authored Dec 9, 2024
2 parents 5c98ec6 + 47d86e2 commit 342f30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/features/filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Operator filters allow you to filter results based on different operators such a
use Spatie\QueryBuilder\AllowedFilter;
use Spatie\QueryBuilder\Enums\FilterOperator;

// GET /users?filter[salary]=>3000
// GET /users?filter[salary]=3000
$users = QueryBuilder::for(User::class)
->allowedFilters([
AllowedFilter::operator('salary', FilterOperator::GREATER_THAN),
Expand Down

0 comments on commit 342f30f

Please sign in to comment.