[FLOW3-general] Keep URL parameters in routing
Bastian Waidelich
bastian at typo3.org
Fri Mar 30 14:04:35 CEST 2012
Thomas Plessis wrote:
Hi Thomas,
> I've a list of items, looks like that : http://www.brocnswap.com/annonces/france.html
> [...] I want to have an uri like that :
http://www.brocnswap.com/annonces/france.html?orderBy=desc&orderField=price
> How to do that in routing.yaml?
It's not (yet) possible to configure the query part of a route like
'{@action}.html?orderBy={orderBy}'.
But if you set the "appendExceedingArguments"¹ directive to TRUE,
arguments that are not defined in the route will be appended. See
http://forge.typo3.org/issues/30778
¹ I just realized, that this is not yet documented and created an issue
for that (http://forge.typo3.org/issues/35394)
Hope that helps,
--
Bastian
More information about the FLOW3-general
mailing list