Hey guys,

Having a weird problem here.

Have a basic function judge_index($type = null) that spits out a simple
listing. Basic $this->paginate(); function.

In the view I have:

$paginator->options(array('url'=>array_merge(array('judge' => true),
$this->passedArgs)));

The judge_index gets called 2 ways. One with the $type variable and one
without. The $type variable simply adds one extra condition to the paginator
variable.

The paginator correctly renders the next/back links with the custom judge
route only when there are no other passedArgs present.

Without named parameters I get:

/judge/judgings/index/page:2

With parameters I get:

/judgings/index/page:2/type:disqualified/judge:1

How can I get it to correctly add the custom route with parameters?

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to