I'm using a custom route to present specific search results on a page. The first page of results loads fine, but the pagination includes '/Array' before the parameters and the links do not pull back any results. Manually removing '/Array' from the URL lets the page load properly.
failing URL generated by cake:
http://www.advancelegaljobs.com/app/webroot/index.php/jobs/search/Array/page:2/experience:0/industry:0/radius:North+Carolina
开发者_开发百科good URL:
http://www.advancelegaljobs.com/app/webroot/index.php/jobs/search/page:2/experience:0/industry:0/radius:North+Carolina
Why would '/Array' be being inserted? Or how do I get rid of it?
UPDATE:
I ended out using jQuery to strip '/Array' out of the pagination links. It works, but I'd really like to implement a proper fix.
精彩评论