Re: HABTM search custom query

2009-07-30 Thread JamesF
you need to set the conditions for your query in the $paginate variable. $this->paginate = array('whatever models and conditions array') http://book.cakephp.org/view/249/Custom-Query-Pagination On Jul 30, 4:48 pm, cookiebaker wrote: > Hi, >  This is my first post and please forgive me if this

HABTM search custom query

2009-07-30 Thread cookiebaker
Hi, This is my first post and please forgive me if this question is already answered. I building a business directory and I encounter a problem when searching using paginate. This is my simplified database design sections ( id, name) categories_sections(category_id, section_id) categories (id, na