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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to