Re: Complex find neighbors query

2010-08-16 Thread AD7six
On Aug 17, 4:07 am, Josh K wrote: > It seems like my problem is that find neighbors is ignoring 'value' => > $id. The $id is set to 8997, but it's returning 11 and 14 and the prev > and next options in the array. Your conditions don't look very conditiony either Check out the new CakePHP Quest

Re: Complex find neighbors query

2010-08-16 Thread Josh K
It seems like my problem is that find neighbors is ignoring 'value' => $id. The $id is set to 8997, but it's returning 11 and 14 and the prev and next options in the array. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You receiv

Complex find neighbors query

2010-08-16 Thread Josh K
I have a query that outputs a paginated list of records based on a staff member's region (comprised of states): --- $this->paginate = array('fields'=>array('Application.id'),'conditions'=>'Application.statuslist_id =