Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong link generation in pagination of news extension #1

Open
opi99 opened this issue Dec 10, 2021 · 0 comments
Open

wrong link generation in pagination of news extension #1

opi99 opened this issue Dec 10, 2021 · 0 comments

Comments

@opi99
Copy link

opi99 commented Dec 10, 2021

Given:

  • TYPO3 10.4.21
  • News 8.6.0
  • urlguard2 1.2.0

News is configured with routeEnhancers as described in the news documentation with the default list template

Problem:

  • In the news list pagination, links to first page are wrong. They link to current page instead of first page (or / witch is starting point for list module).

Problem location:

  • In template the link to first page is done by <f:widget.link addQueryStringMethod="GET"> without arguments.
  • In ContentObjectRenderer::getQueryArguments the parameter @widget_0.currentPage is correctly filtered away
  • But ContentObjectRenderer10Xclassed::getQueryArguments adds them back by $pageArguments->getRouteArguments()
  • So we result in linking to the pagination page which will be shown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant