]> git.koha-community.org Git - koha.git/commit
Bug 30663: Implement overrides handling in POST /suggestions
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 3 May 2022 14:23:23 +0000 (11:23 -0300)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 13 May 2022 19:09:28 +0000 (15:09 -0400)
commitce9664e1b01e9f3dc807855d76927b9184453aee
treeb67fec88d6c012e6ca6e9d6202f6d0b2561b3523
parent25317416e62a267a4f4b06cf35f37ad38e04b40a
Bug 30663: Implement overrides handling in POST /suggestions

This patch implements the override checks in the controller as expected
by the previous patch.

To test:
1. Apply this bug patches up to 'Add x-koha-override options...'
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/suggestions.t
=> FAIL: Tests fail! The controller doesn't care about overrides or
         sysprefs about suggestions limits.
3. Apply this patch
4. Repeat 2
=> SUCCESS: Things work!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/REST/V1/Suggestions.pm