I'm trying to accomplish a search on several fields, including tags.
When trying to use matching or innerJoinWith Tags, I'm getting that error. Following on the query that is generated by CakePHP, I get the following (fragment of query)
...
INNER JOIN tags_tags Tags ON Tagged.fk_table = 'projects'
INNER JOIN tags_tagged Tagged ON (Projects.id = (Tagged.fk_id) AND Tags.id = (Tagged.tag_id))
...
Resulting in a crash error:
Unknown column 'Tagged.fk_table' in 'on clause'
Thanks!