Skip to content

Commit

Permalink
Update docs: setCondition & NextrasDataSource (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
radimvaculik authored Dec 19, 2021
1 parent ef0288f commit aaf6afd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .docs/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ $grid->addFilterText('custom', 'Custom search:', 'name')
* The data source is here DibiFluent
* No matter what data source you are using,
* prepared data source will be passed as the first parameter of your callback function
*
* If you are using `NextrasDataSource` (DbalCollection),
* functions as `findBy` don't work. You need to use `$collection->getQueryBuilder->...` syntax.
* See https://github.com/contributte/datagrid/pull/298 for detailed information.
*/
$fluent->where('id > ?', strlen($value));
});
Expand Down

0 comments on commit aaf6afd

Please sign in to comment.