You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
Check the bottom of the README, what you're looking for is explained there:
commonProcess method defined in Prg component allow you to inject search in any index controller with just 1-2 lines of additional code.
You should pass model name that used for search. By default it is default Controller::modelClass model.
I occurred the same problem concerning this issue.
In this case, the sample code of controller class defines "array('field' => 'status', 'type' => 'checkbox'),".
The sample code doesn't work when the status check box was selected multiple values.
(The SQL code will be generated like "WHERE Article.status = (1|2)" and returns incorrect result.)
To solve this problem, I specified argument "$this->data['Article']" to parseCriteria.
I think it was very complicated to understand how it works.
Any right ways to do this?
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think
should be
or
in README and the documentation at http://cakedc.com/downloads/view/cakephp_search_plugin.
The text was updated successfully, but these errors were encountered: