There's an error in your syntax. The line should be $filter =
array('Event.postcode' => '4883');

On Aug 2, 11:24 pm, "#2Will" <willjbar...@gmail.com> wrote:
> Sorry but i seem to be struggling today.  Ive got my index page
> showing my paginated list and filtering by tag, but what if i want to
> add in more filters?
>
> so  $filter = array( 'Event.postcode' = '4883')
>
> $this->paginate['Tagged'] = array(
>                         'model' => 'Event',
>                         'tagged',
>                         'by' => $this->passedArgs['by']);
>                 $recipes = $this->paginate('Tagged', $filter);
>
> the filter is just ignored.
>
> Surely im just doing something silly? You must be able to add more
> conditions right?
>
> Thanks,
>
> a confused will.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to