Actually, patch would be http://pastie.org/925971
Regards, Saša Stamenković On Sun, Apr 18, 2010 at 7:28 PM, umpirsky [via Zend Framework Community] < [email protected]<ml-node%[email protected]> > wrote: > Adding this patch to Zend/Controller/Router/Route.php > http://pastie.org/925891 fixed the problem. > > Is there a bug for this, or we should open new one? It would be nice to > have this before bug hunt days is over. > > Anyone? > > Regards, > Saša Stamenković > > > > On Sun, Apr 18, 2010 at 4:17 PM, umpirsky <[hidden > email]<http://n4.nabble.com/user/SendEmail.jtp?type=node&node=2014982&i=0> > > wrote: > >> >> Last thing I tried is >> >> resources.router.routes.cars.route = "auto-oglasi/:page/*" >> resources.router.routes.cars.defaults.module = "default" >> resources.router.routes.cars.defaults.controller = "auto-oglasi" >> resources.router.routes.cars.defaults.action = "index" >> resources.router.routes.cars.defaults.page = 1 >> >> But this fails, because with URL like this >> >> >> /auto-oglasi/2/price/0/price/0/year/1960/year/1960/city/36/sort_by/0/mode/0 >> >> all parameters are strings, instead arrays. Looks like bug, discussed here >> http://forums.zend.com/viewtopic.php?f=69&t=4849. >> >> Is there any way arroud this? I can't beleive I just can't remove index >> string from action part of url :( >> -- >> View this message in context: >> http://n4.nabble.com/Please-help-with-routes-tp2014179p2014879.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> > > > > ------------------------------ > View message @ > http://n4.nabble.com/Please-help-with-routes-tp2014179p2014982.html > To unsubscribe from Re: Please help with routes, click here< (link removed) > ==>. > > > -- View this message in context: http://n4.nabble.com/Please-help-with-routes-tp2014179p2015054.html Sent from the Zend Framework mailing list archive at Nabble.com.
