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-31651: Extracted search logic from adminUI #1

Merged
merged 8 commits into from
Jun 16, 2020
Merged

Conversation

ViniTou
Copy link
Contributor

@ViniTou ViniTou commented Jun 15, 2020

Question Answer
Tickets https://jira.ez.no/browse/EZP-31651
Bug fix? no
New feature? yes
BC breaks? no
Tests pass? yes
Doc needed? yes
License GPL-2.0

Desc

  • SearchController is the same as in adminUI, just used Symfony FormFactory instead of custom one.
  • SearchView builder / provider introduced.
  • Simplified front SA search forms.
    image

Use in adminUI:

ezsystems/ezplatform-admin-ui#1400

TODO

As a followup I would like to extract whole logic from Controller into ViewBuilder / Listeners.

Checklist:

  • Coding standards ($ composer fix-cs)

LICENSE Outdated Show resolved Hide resolved
.github/pull_request_template.md Outdated Show resolved Hide resolved
use eZ\Publish\Core\MVC\ConfigResolverInterface;
use eZ\Publish\Core\Pagination\Pagerfanta\ContentSearchHitAdapter;
use eZ\Publish\Core\QueryType\QueryType;
use EzSystems\EzPlatformAdminUi\Form\Data\Search\SearchData;
Copy link

@mikadamczyk mikadamczyk Jun 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we want to copy SearchData, SearchType, and other similar classes to this package and deprecate original classes in Admin UI. Or lets remove them now from Admin UI

composer.json Outdated Show resolved Hide resolved
@ViniTou ViniTou requested a review from mikadamczyk June 16, 2020 07:27
@lserwatka lserwatka merged commit 60e9785 into master Jun 16, 2020
@lserwatka lserwatka deleted the EZP-31651-init branch June 16, 2020 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants