-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
[BUGFIX] Fix record overlay for 'List of selected items' (2369) #2474
base: main
Are you sure you want to change the base?
Conversation
@@ -251,6 +251,9 @@ protected function createConstraintsFromDemand(QueryInterface $query, DemandInte | |||
// Id list | |||
$idList = $demand->getIdList(); | |||
if ($idList) { | |||
$query->getQuerySettings()->setRespectStoragePage(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not needed as already set in generateQuery()
@@ -251,6 +251,9 @@ protected function createConstraintsFromDemand(QueryInterface $query, DemandInte | |||
// Id list | |||
$idList = $demand->getIdList(); | |||
if ($idList) { | |||
$query->getQuerySettings()->setRespectStoragePage(false); | |||
$query->getQuerySettings()->setRespectSysLanguage(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not set $disableLanguageOverlayMode to true in the selectedListAction call?
@@ -251,6 +251,9 @@ protected function createConstraintsFromDemand(QueryInterface $query, DemandInte | |||
// Id list | |||
$idList = $demand->getIdList(); | |||
if ($idList) { | |||
$query->getQuerySettings()->setRespectStoragePage(false); | |||
$query->getQuerySettings()->setRespectSysLanguage(false); | |||
$query->getQuerySettings()->setLanguageOverlayMode(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also move that out of this important method which is used by all actions and make if configurable from the action. what do you think?
Fixes #2369