-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add List filter configuration #632
Conversation
e6c015b
to
0471120
Compare
dec79ab
to
4218cb1
Compare
@alexander-schranz fixed |
4218cb1
to
51a709f
Compare
51a709f
to
d02acff
Compare
Controller/ArticleController.php
Outdated
* pageId?: string, | ||
* publishedState?: string, | ||
* } $filter */ | ||
$filter = $request->get('filter'); |
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.
$filter = $request->get('filter'); | |
$filter = $request->query->get('filter'); |
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.
$request->query->get('filter')
cannot return an array 🙈
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.
$request->query->all('filter')
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.
looks like does not exist on 4.4 so:
$request->query->all()['filter'] ?? []
that is similar to the request get
d02acff
to
a9f318d
Compare
@alexander-schranz fixed |
Should we target this as a new feature (2.5 not released yet) or as a bugfix (2.4)? /cc @chirimoya |
@alexander-schranz is a bugfix for me 😂 |
What's in this PR?
This PR add the filter configuration for article-lists.