lexik / LexikFormFilterBundle

This Symfony bundle aim to provide classes to build some form filters and then build a doctrine query from this form filter.
MIT License
389 stars 119 forks source link

How to add a field to set maxresults #333

Closed macthemaster closed 3 years ago

macthemaster commented 4 years ago

Hello! first of all, thanks for share your Bundle. Now...my doubt is simple.... is a way to add a field on the formfilterType to let the user set max results?

Thanks

snebes commented 4 years ago

What do you mean exactly? The max total results could be set on the QueryBuilder, if that is what you are looking for.

$queryBuilder->setMaxResults(100); for example