Skip to content
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-31415: Impl. composite & sibling criterion #2958

Merged
merged 5 commits into from
Mar 12, 2020
Merged

Conversation

adamwojs
Copy link
Member

@adamwojs adamwojs commented Feb 27, 2020

Question Answer
JIRA issue EZP-31415
Bug/Improvement no
New feature yes
Target version master
BC breaks no
Tests pass yes
Doc needed yes

\eZ\Publish\API\Repository\Values\Content\Query\Criterion\CompositeCriterion is a base implementation for search criteria which are created from the composition of existing ones.

Criteria based on CompositeCriterion doesn't need specific implementation of \eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler or EzSystems\EzPlatformSolrSearchEngine\Query\CriterionVisitor .

See\eZ\Publish\API\Repository\Values\Content\Query\Criterion\Sibling as an example.

TODO:

  • Implement feature / fix a bug.
  • Implement tests.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@webhdx
Copy link
Contributor

webhdx commented Feb 27, 2020

Are you going to implement REST counterpart for it?

@adamwojs
Copy link
Member Author

adamwojs commented Mar 2, 2020

Are you going to implement REST counterpart for it?

Done: ezsystems/ezplatform-rest#40

@adamwojs adamwojs changed the title EZP-31415: Impl. aggregate & sibling criterion EZP-31415: Impl. composite & sibling criterion Mar 9, 2020
@adamwojs adamwojs requested a review from alongosz March 9, 2020 14:27
@micszo micszo self-assigned this Mar 12, 2020
Copy link
Member

@micszo micszo left a 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 master with branches.
Tested using PAPI and REST.
Verified with LegacySE and Solr.

@micszo micszo removed their assignment Mar 12, 2020
@lserwatka
Copy link
Member

@adamwojs could you rebase?

@adamwojs adamwojs force-pushed the aggregate_criterion branch from 623be7e to ca14c99 Compare March 12, 2020 18:13
@adamwojs adamwojs merged commit bddb707 into master Mar 12, 2020
@adamwojs adamwojs deleted the aggregate_criterion branch March 12, 2020 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants