i solved it up to now with one query, where i put everything inside what i need. but it's not a perfect solution, but it works.
On 5 Mrz., 19:13, martin <[email protected]> wrote: > cakedc is a great plugin. > i need two query types in $filterArgs > > -------------code------------------------- > public $filterArgs = array( > array('name' => 'name', 'type' => 'like'), > array('name' => 'jahr', 'type' => 'query', 'method' => > 'zeitSpanneJahr'), > array('name' => 'mes', 'type' => 'query', 'method' => > 'zeitSpanneMes'), > ); > > public function zeitSpanneMes ( $data, $field = null){ ... } > > public function zeitSpanneJahr ( $data, $field = null){ ... } > --------------code-end----------------------- > > the problem is, that only the second query is included in the total > search query. > > what do i have to do please, to get both queries. > i want to conect them with AND > > regards from spain > martin -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
