Skip to content

Commit adae1bb

Browse files
vinceAmstoutzdunglas
authored andcommitted
Fix broken link
1 parent 6b5c5a5 commit adae1bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

laravel/filters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Parameters and Filters
22

3-
API Platform is great for Rapid Application Development and provides lots of functionalities out of the box such as collection filtering with Eloquent. Most of the filtering is done using query parameters, which are automatically documented and validated. If needed you can use [state providers](core/state-providers) or a [Links Handler] to provide data.
3+
API Platform is great for Rapid Application Development and provides lots of functionalities out of the box such as collection filtering with Eloquent. Most of the filtering is done using query parameters, which are automatically documented and validated. If needed you can use [state providers](../core/state-providers.md) or a [Links Handler] to provide data.
44

55
## Parameters
66

@@ -84,13 +84,13 @@ class Book extends Model
8484
}
8585
```
8686

87-
The documentation will output a query parameter per property that applies the `PartialSearchFilter` and also gives the ability to sort by name and id using: `/books?name=search&order[id]=asc&order[name]=desc`.
87+
The documentation will output a query parameter per property that applies the `PartialSearchFilter` and also gives the ability to sort by name and ID using: `/books?name=search&order[id]=asc&order[name]=desc`.
8888

8989
## Filters
9090

9191
### Text
9292

93-
As shown above the following search filters are available:
93+
As shown above the following search filters are available:
9494

9595
- `ApiPlatform\Laravel\Eloquent\Filter\PartialSearchFilter` queries `LIKE %term%`
9696
- `ApiPlatform\Laravel\Eloquent\Filter\EqualsFilter` queries `= term`
@@ -99,7 +99,7 @@ As shown above the following search filters are available:
9999

100100
### Date
101101

102-
The `DateFilter` allows to filter dates with an operator (`eq`, `lt`, `gt`, `lte`, `gte`):
102+
The `DateFilter` allows to filter dates with an operator (`eq`, `lt`, `gt`, `lte`, `gte`):
103103

104104
```php
105105
// app/Models/Book.php
@@ -119,7 +119,7 @@ class Book extends Model
119119
}
120120
```
121121

122-
Our default strategy is to exclude null values, just remove the `filterContext` if you want to exclude nulls.
122+
Our default strategy is to exclude null values, just remove the `filterContext` if you want to exclude nulls.
123123

124124
### Or
125125

0 commit comments

Comments
 (0)