This is what I have currently:
var $filterArgs = array(
array('name' => 'filter', 'type' => 'query', 'method' =>
'orConditions'),
array('name' => 'filter', 'type' => 'subquery', 'method' =>
'findByTags', 'field' => 'NewsPost.id'),
);
public function findByTags($dat
Yep! Sure did!
I was fairly sure I had followed everything correctly, but I kept
getting "Operand should contain 1 column" error?
I looked at debug and the 'tags' portion of the query was returning
all the fields not just the id's?
I think it's something to do with containable, but I couldn't fi
Did you read this?
http://cakedc.com/downloads/view/cakephp_search_plugin
--
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
Hi there,
Has anyone got an example of how to use the CakeDC plugin to query a
related habtm relationship?
I have a standard posts/tags setup and want to query the tags as well
as the posts.
TIA
d//t
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check o