Skip to content

Commit 05cb82f

Browse files
authored
Merge pull request #685 from OskarStark/patch-1
added missing DateFilter::INCLUDE_NULL_BEFORE_AND_AFTER
2 parents e5f4598 + bba5396 commit 05cb82f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/filters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ Use the default behavior of the DBMS | `null`
241241
Exclude items | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter::EXCLUDE_NULL` (`exclude_null`)
242242
Consider items as oldest | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter::INCLUDE_NULL_BEFORE` (`include_null_before`)
243243
Consider items as youngest | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter::INCLUDE_NULL_AFTER` (`include_null_after`)
244+
Always include items | `ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\DateFilter::INCLUDE_NULL_BEFORE_AND_AFTER` (`include_null_before_and_after`)
244245

245246
For instance, exclude entries with a property value of `null`, with the following service definition:
246247

0 commit comments

Comments
 (0)