-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
EZP-30951: Added missing support for searching (Not)Empty Field values #157
Conversation
@mateuszbieniek could you provide, either in this PR description or in the kernel one, a sample PHP code, so it's easier for both the Doc Team and the others to understand how they can use it? The scope is just a few lines, starting from building Criteria and ending with calling e.g. |
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.
New files don't have required copyright header, please add it. I'm not about to list all nitpicks which could be solved by CS-fixer, just run it 😛
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentNullFields.php
Outdated
Show resolved
Hide resolved
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentNullFields.php
Outdated
Show resolved
Hide resolved
@alongosz sure thing! Ill do it on monday :) |
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentEmptyFields.php
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
73bb0d9
to
39b80b9
Compare
fbb3295
to
f7c78d2
Compare
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentEmptyFields.php
Show resolved
Hide resolved
4129631
to
572a82a
Compare
572a82a
to
360c2a4
Compare
360c2a4
to
50ba114
Compare
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentEmptyFields.php
Outdated
Show resolved
Hide resolved
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentEmptyFields.php
Outdated
Show resolved
Hide resolved
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentEmptyFields.php
Outdated
Show resolved
Hide resolved
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentEmptyFields.php
Outdated
Show resolved
Hide resolved
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.
+1 besides tackling kernel dependency one or the other way
lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentEmptyFields.php
Show resolved
Hide resolved
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.6 with diffs.
You can merge it up |
@lserwatka done. |
1.7
for eZ Platformv2.5.x
LTSThis PR adds Mapper, so a new index for not required fields will be added to Solr:
is_empty
.is_empty
(true/false) determines if Field is considered empty as per Feild Definition.The Developer then can search (not) empty Fields with
IsFieldEmpty
Criterion.This PR requires these kernel changes: ezsystems/ezpublish-kernel#2821