]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 5 May 2022 13:26:41 +0000 (10:26 -0300)
commitc9f6ea43747f7914e1abe96c22e0f68de60e50a0
tree0214c8e0a9e08b28dd8add3d0a620ea08471b040
parent9374824bc5d33109753931401c269e51fe21acf8
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>
Koha/REST/V1/Suggestions.pm