Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sg_routes
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
TYPO3
sg_routes
Commits
44d039d4
Commit
44d039d4
authored
Mar 19, 2019
by
Paul Ilea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUGFIX] Fix BE Module pagination for typo3 v9
parent
8e720bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
Classes/ViewHelpers/Widget/UriViewHelper.php
Classes/ViewHelpers/Widget/UriViewHelper.php
+9
-2
No files found.
Classes/ViewHelpers/Widget/UriViewHelper.php
View file @
44d039d4
...
...
@@ -47,14 +47,21 @@ class UriViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Widget\UriViewHelper {
$argumentPrefix
=
$controllerContext
->
getRequest
()
->
getArgumentPrefix
();
$parentNamespace
=
$controllerContext
->
getRequest
()
->
getWidgetContext
()
->
getParentPluginNamespace
();
$parentArguments
=
GeneralUtility
::
_GP
(
$parentNamespace
);
$allArguments
=
[
$argumentPrefix
=>
$arguments
];
$allArguments
=
[
$argumentPrefix
=>
$arguments
[
'arguments'
]
??
[]
];
if
(
$parentArguments
&&
isset
(
$parentArguments
[
'filters'
]))
{
$allArguments
[
$parentNamespace
.
'[filters]'
]
=
$parentArguments
[
'filters'
];
}
if
(
$arguments
[
'action'
]
??
false
)
{
$allArguments
[
$argumentPrefix
][
'action'
]
=
$arguments
[
'action'
];
}
if
((
$arguments
[
'format'
]
??
''
)
!==
''
)
{
$allArguments
[
$argumentPrefix
][
'format'
]
=
$arguments
[
'format'
];
}
return
$uriBuilder
->
reset
()
->
setArguments
(
$allArguments
)
->
setSection
(
$arguments
[
'section'
])
->
setAddQueryString
(
TRUE
)
->
setUseCacheHash
(
$arguments
[
'useCacheHash'
])
->
setAddQueryString
(
true
)
->
setAddQueryStringMethod
(
$arguments
[
'addQueryStringMethod'
])
->
setArgumentsToBeExcludedFromQueryString
([
$argumentPrefix
,
'cHash'
])
->
setFormat
(
$arguments
[
'format'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment