Skip to content

Commit d5229fe

Browse files
committed
[BUGFIX] Reanimate pagebrowser on some detail pages in backend
Before this commit: When action are written with camelcase like "DetailPage" the action was handled in UriViewHelper with strtolower() what leads to "detailpage". But we need "detailPage". After this commit pagebrowser works as expected in TYPO3 13 How to reproduce this bug: Backend/Analysis/Pagevits&Downloads/[anypageWithALotOfVisits]/Show details/Page 2 in Pagebrowser
1 parent 828ee26 commit d5229fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/ViewHelpers/Pagination/UriViewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function getAction(): string
5252
{
5353
$controllerAction = $this->renderingContext->getControllerAction();
5454
$parts = explode('/', $controllerAction);
55-
return strtolower($parts[1] ?? '');
55+
return lcfirst($parts[1] ?? '');
5656
}
5757

5858
protected function getController(): string

0 commit comments

Comments
 (0)