We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using queries in Fusion to fetch nodes, a condition on the workspace is added, always restricting results to the live workspace.
live
This leads to unexpected results, since changes from a workspace that affect those queries will not be observed.
The queries should usually be working on the workspace that is currently shown (personal workspace, preview workspace, …).
The text was updated successfully, but these errors were encountered:
Ok, it's not always live:
$this->queryFilter('terms', ['__workspace' => array_unique(['live', $contextNode->getContext()->getWorkspace()->getName()])]);
(see
Flowpack.ElasticSearch.ContentRepositoryAdaptor/Classes/Eel/ElasticSearchQueryBuilder.php
Line 658 in 314ecac
That also explains why some of those queries work as expected, it all boils down to the workspace the $contextNode has.
$contextNode
Sorry, something went wrong.
No branches or pull requests
When using queries in Fusion to fetch nodes, a condition on the workspace is added, always restricting results to the
live
workspace.This leads to unexpected results, since changes from a workspace that affect those queries will not be observed.
The queries should usually be working on the workspace that is currently shown (personal workspace, preview workspace, …).
The text was updated successfully, but these errors were encountered: