-
Notifications
You must be signed in to change notification settings - Fork 4
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
IBX-6620: Added Image criterion visitors #55
Conversation
9168822
to
8653d48
Compare
8653d48
to
1dd102e
Compare
1dd102e
to
edfd05e
Compare
bde5054
to
aa82131
Compare
deprecated: | ||
version: 'eZ Platform 3.2.0' | ||
package: 'ibexa/solr' | ||
message: 'The "%service_id%" service is deprecated since eZ Platform 3.2.0, to be removed in eZ Platform 4.0.0., use ezpublish.search.solr.result_extractor.content.native or ezpublish.search.solr.result_extractor.location.native instead.' |
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.
If you are touching those, I think we can also change the version (and name) when this gonna be removed.
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.
Fixed: 1e89b9e
90ed0c1
to
a041631
Compare
return $criterion instanceof Criterion\Image\Height | ||
&& ( | ||
$criterion->operator === Operator::BETWEEN | ||
|| $criterion->operator === Operator::GTE |
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.
Wouldn't also make sense to have Operator::LTE
here?
return $criterion instanceof Criterion\Image\Width | ||
&& ( | ||
$criterion->operator === Operator::BETWEEN | ||
|| $criterion->operator === Operator::GTE |
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.
Same remark as for Height
.
a041631
to
2012855
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
v4.6
This PR adds CriterionVisitors for Image criteria that enables image search in solr engine:
There is also added dedicated IbexaTestKernel class for integration tests.
Checklist:
$ composer fix-cs
).@ibexa/php-dev
for back-end changes and/or@ibexa/javascript-dev
for front-end changes).