Skip to content

Commit 7c8660b

Browse files
authored
Docs correction for "Customizing criteria" (#279)
I believe there is a mistake in the Customizing criteria [code example](https://omines.github.io/datatables-bundle/#customizing-criteria). The key should be `criteria` and not `query`.
1 parent b4d7423 commit 7c8660b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/index.html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ interaction based on internal changes in this bundle and/or Doctrine ORM.
279279
```php?start_inline=1
280280
$table->createAdapter(ORMAdapter::class, [
281281
'entity' => Employee::class,
282-
'query' => [
282+
'criteria' => [
283283
function (QueryBuilder $builder) {
284284
$builder->andWhere($builder->expr()->like('c.name', ':test'))->setParameter('test', '%ny 2%');
285285
},

0 commit comments

Comments
 (0)