[TASK] Cleanup generation of sitemap-index-URLs 48/58548/3
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 1 Oct 2018 21:34:07 +0000 (23:34 +0200)
committerBenni Mack <benni@typo3.org>
Sun, 28 Oct 2018 12:35:17 +0000 (13:35 +0100)
commita5b6f960e515d0851388c1b8003d977de4f418c0
tree407ede5262f76cecceaa052accd257d38f555ded
parent1b2670c51623d3def87c1c3cedc0c2a45fe3c9fc
[TASK] Cleanup generation of sitemap-index-URLs

Use pageType-parameter from f:uri.page instead of providing
the type through additionalParams.
And don't include the page-parameter unless we are on another page
than the first one (page=0). Many DataProviders might only use one
page anyway.

Resolves: #86531
Releases: master
Change-Id: Id6f7ac8f53d03802e904ee0c946c8d0c02ee61f9
Reviewed-on: https://review.typo3.org/58548
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/seo/Resources/Private/Templates/XmlSitemap/Index.xml
typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php