You can do this using queries and form submit or ajax, a very simple example in theory would be to have a filter say username, then on submit if $this->request->data['Model']['username'] is not null then pass a LIKE condition to the paginate query.
It's simple practice but something you will have to attempt yourself and then ask more specific questions if you get stuck, not something that is included as a full feature by default.
HTH, Stephen
On 30 July 2014 16:34, Jipson Thomas <jipson@strategic-ic.co.uk> wrote:
Hi,--
Would you please let me know whether cakephp3 have an option for search filters on index view.
Regards,
Jipson
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
Kind Regards
Stephen Speakman
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment