Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TYPO3
sg_mail
Commits
cecd4bcf
Commit
cecd4bcf
authored
Aug 12, 2020
by
Kevin Ditscheid
Browse files
[BUGFIX] Fix QuerySetting initialisation
parent
3bdcf7f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Domain/Repository/FrontendUserGroupRepository.php
View file @
cecd4bcf
...
...
@@ -29,6 +29,7 @@ use TYPO3\CMS\Core\Database\ConnectionPool;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
use
TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup
;
use
TYPO3\CMS\Extbase\Object\ObjectManagerInterface
;
use
TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings
;
/**
* Frontend User Group Repository
...
...
@@ -43,7 +44,7 @@ class FrontendUserGroupRepository extends \TYPO3\CMS\Extbase\Domain\Repository\F
public
function
__construct
(
ObjectManagerInterface
$objectManager
)
{
parent
::
__construct
(
$objectManager
);
$this
->
objectType
=
FrontendUserGroup
::
class
;
$querySettings
=
$this
->
createQuery
()
->
get
QuerySettings
(
);
$querySettings
=
GeneralUtility
::
makeInstance
(
Typo3
QuerySettings
::
class
);
$querySettings
->
setRespectStoragePage
(
FALSE
);
$this
->
setDefaultQuerySettings
(
$querySettings
);
}
...
...
Write
Preview
Supports
Markdown
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