-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[6.1][webservices] use logic and when filter multiple tag values #46325
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
base: 6.1-dev
Are you sure you want to change the base?
Conversation
|
I tried to test this PR but got a 500 error response. I am an API novice so it could be something to do with my set up. This is my stack trace: {"errors":[{"code":500,"title":"Internal server error","detail":"RuntimeException: Unable to load renderer class module in /Users/ceford/Sites/joomla-cms6/libraries/src/Document/Factory.php:101\nStack trace:\n This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46325. |
Pull Request for Issue #46241 .
Summary of Changes
This change adds support for a tag_mode filter to the Articles list in com_content so callers can choose whether tag filtering should use OR (any) or AND (all) semantics. It also exposes the new filter via the API controller.
What this does
Testing Instructions
GET
api/index.php/v1/content/articles?filter[tag][]=2&filter[tag][]=3&filter[tag_mode]=allManual tests performed for:
Actual result BEFORE applying this Pull Request
only logic OR
Expected result AFTER applying this Pull Request
Adds logic AND
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed