-
Notifications
You must be signed in to change notification settings - Fork 34
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
EZP-31275: Fixed wrong tag for ContentDocumentEmptyFields #164
Conversation
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.
@mateuszbieniek +1 but we need integration test 😉
@adamwojs here you go: ezsystems/ezpublish-kernel#2915 :) |
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.
QA Approved on eZ Platform EE v2.5.8 with diff.
You can merge it up. |
The empty field was indexed only for Contents (not Locations), therefore it was impossible to use IsEmpty Criterion when searching for locations.
This PR changes tag for
EzSystems\EzPlatformSolrSearchEngine\FieldMapper\ContentTranslationFieldMapper\ContentDocumentEmptyFields
toezpublish.search.solr.field_mapper.block_translation
so empty fields will be indexed also for Locations.After applying the fix
php bin/console ezplatform:reindex
has to be executed to create indexes containing empty fields for locations.More in JIRA ticket: https://jira.ez.no/browse/EZP-31275