[Koha-bugs] [Bug 30165] New: Several q parameters break the filters
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 23 15:29:19 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30165
Bug ID: 30165
Summary: Several q parameters break the filters
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: REST API
Assignee: koha-bugs at lists.koha-community.org
Reporter: jonathan.druart+koha at gmail.com
CC: tomascohen at gmail.com
If several q parameters are passed, only one will be taken into account.
See bug 30164 for more details.
Basically
/api/v1/cities?q={"name":{"like":"%bou%"}}&q=[]&_page=1&_per_page=20&_match=contains&_order_by=+me.name
will retrieve all the cities, only the second q is used to generate the filters
(q=[])
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list