Hi all I am offering my customers the ability to create customer specific input fields and try to make them searchable with the search <https://github.com/CakeDC/search> plugin. I do not have any problem by creating static search condition in the $filterArgs array. In order to support the search for dynamically created input fields, my idea was to create the $filterArgs array in the CustomersController and then set it back to the model "Customer". I see that the array was set up with data but it seems like it is not taken into account (maybe loaded to late?) for the search once I pass it back to the model. So when I try to search a field, my custom search method findCustomerCustomFieldsBySelect() is not called.
I would appreciate any kind of advice that makes it possible to search for those dynamic fields. Here is the gist with the relevant code: https://gist.github.com/doonot/8e83613b87fa47af0e61 Best Regards, Patrick -- 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+unsubscr...@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.