Skip to content

[BUGFIX] Fix record overlay for 'List of selected items' (2369)#2474

Open
idleworks wants to merge 1 commit intogeorgringer:mainfrom
idleworks:fix-2369
Open

[BUGFIX] Fix record overlay for 'List of selected items' (2369)#2474
idleworks wants to merge 1 commit intogeorgringer:mainfrom
idleworks:fix-2369

Conversation

@idleworks
Copy link
Copy Markdown
Contributor

Fixes #2369

// Id list
$idList = $demand->getIdList();
if ($idList) {
$query->getQuerySettings()->setRespectStoragePage(false);
Copy link
Copy Markdown
Owner

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()

$idList = $demand->getIdList();
if ($idList) {
$query->getQuerySettings()->setRespectStoragePage(false);
$query->getQuerySettings()->setRespectSysLanguage(false);
Copy link
Copy Markdown
Owner

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?

if ($idList) {
$query->getQuerySettings()->setRespectStoragePage(false);
$query->getQuerySettings()->setRespectSysLanguage(false);
$query->getQuerySettings()->setLanguageOverlayMode(true);
Copy link
Copy Markdown
Owner

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?

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

Successfully merging this pull request may close these issues.

The "List of selected items" view with "sort by" setting does not respect language overlay

2 participants