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 <[email protected]> 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. >
