]> git.koha-community.org Git - koha.git/commit
Bug 24487: Don't apply matching criteria to path parameters
authorAgustin Moyano <agustinmoyano@theke.io>
Thu, 23 Jan 2020 04:50:29 +0000 (01:50 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 30 Jan 2020 15:34:49 +0000 (15:34 +0000)
commit1e5fca80e6f7967d0fe65e2010fcce9836e34c75
tree6dbb5dde4da0dfe1f7d1c9e96b54c817f37c0322
parent4584d36df43219a070bc542dba56ec065ad5b769
Bug 24487: Don't apply matching criteria to path parameters

This patch separates query parameters from path parameters, and uses exact matching for the later.

To test:
1. Apply this patch
2. prove t/Koha/REST/Plugin/Query.t t/db_dependent/Koha/REST/Plugin/Objects.t
SUCCESS => tests ok
3. Sign off

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/Plugin/Objects.pm
Koha/REST/Plugin/Query.pm
t/Koha/REST/Plugin/Query.t