[FEATURE] uriBuilder should honor POST arguments for addQueryString 32/22432/5
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 19 Jul 2013 19:31:09 +0000 (15:31 -0400)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 12 Oct 2013 15:03:42 +0000 (17:03 +0200)
commitc5b84cd8a3d26aa4c42dbdf10c80883010cc44ce
tree38a778ba2fe4d3ea8e3afca295d0165d1751b7bc
parent62338f13bb41b08e94e119b37942ed93eccf2482
[FEATURE] uriBuilder should honor POST arguments for addQueryString

Currently the addQueryString option in the uriBuilder only supports
arguments which are in the query string. Therefore, the pagination
widget does not work with filtering post requests.

Solution: Add addQueryStringMethod (already supported by typolink
configuration) as property of uriBuilder and as argument of the
following fluid view helpers:
* link.action
* link.page
* uri.action
* uri.page
* widget.link
* widget.uri
* widget.pagination
Add addQueryStringMethod as configuration option of the paginate widget.

Fixes: #35281
Fixes: #11441
Releases: 6.2
Change-Id: I8f2963fa7467dffcf3b9535d2a41820de8f9930a
Reviewed-on: https://review.typo3.org/22432
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefano Cecere
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php
typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/ActionViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/PageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/LinkViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/UriViewHelper.php
typo3/sysext/fluid/Resources/Private/Templates/ViewHelpers/Widget/Paginate/Index.html
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ViewHelperBaseTestcase.php