-
Notifications
You must be signed in to change notification settings - Fork 2
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-32105: Use search.pagination.limit parameter instead of obsolete pagination.search_limit #12
Conversation
dab24db
to
f87409e
Compare
…pagination.search_limit
f87409e
to
081f3cd
Compare
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.
But can we also get additional PR to adminUI with deprecating old configuration?
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.
I think the parameter has to be changed here as well:
https://github.com/ezsystems/ezplatform-search/blob/1.0/src/lib/View/SearchViewFilter.php#L76
otherwise I had exceptions when accesing the search on other SiteAccess than site
(for example: example.com/pol/search )
With the change I've mentioned above it works for me, but only if I define:
parameters:
ezsettings.site_group.search_view:
full:
default:
template: "@@ezdesign/search/index.html.twig"
match: []
(similar as https://github.com/ezsystems/ezplatform-search/blob/master/src/bundle/Resources/config/default_settings.yaml#L4 but for site_group
where my SiteAccesses are).
Q: If I define the view for default
scope (ezsettings.default.search_view
) then the template for AdminUI is overridden as well and AdminUI search stops working - is it a misconfiguration on my side/a bug in the product somehow related to scopes?
Thanks, @mnocon! I have fixed this another occurence you've found. Could you please re-test?
I adapted it to |
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.
@kmadejski looks good now!
I've reported the other thing I've mentioned in a separate ticket: https://jira.ez.no/browse/EZP-32121
You can merge it up. |
@lserwatka done in a9d2574. |
Checklist:
$ composer fix-cs
)