]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 17 Apr 2020 18:42:35 +0000 (18:42 +0000)
commiteff216747b8faa05b825edb899f588db93a7cc02
treeee7255c0a6c5cd781994757538397fee3287a602
parente072ccfda73f33a426a109fe0ace3c941495990b
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
Koha/REST/Plugin/Objects.pm
Koha/REST/Plugin/Query.pm
t/Koha/REST/Plugin/Query.t