Koha-clms/Koha/REST/V1
Tomas Cohen Arazi 2387ac731c Bug 27593: Consistent behavior for club holds route
This patch:
- Fixes a malformed response when biblio_id is invalid
- Fixes the return status (400 => 404) when biblio_id is invalid
- Adapts the error strings to be consistent with the Cities.pm file

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/clubs_holds.t
=> FAIL: Tests fail
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-23 13:16:07 +01:00
..
Acquisitions Bug 20212: Filter on publisher and notes 2021-01-28 16:44:48 +01:00
CashRegisters Bug 26274: Add cashups api routes 2021-02-12 12:33:41 +01:00
Clubs Bug 27593: Consistent behavior for club holds route 2021-02-23 13:16:07 +01:00
Config/SMTP
…
Patrons
…
AdvancedEditorMacro.pm
…
Auth.pm
…
Biblios.pm Bug 27352: Missed case in bug 25032 2021-01-29 09:03:45 +01:00
Checkouts.pm Bug 27544: Simplify GET /checkouts implementation 2021-01-28 16:41:20 +01:00
CirculationRules.pm
…
Cities.pm
…
Holds.pm Bug 26181: Disable override by default in /holds 2021-02-12 12:14:50 +01:00
Illbackends.pm
…
Illrequests.pm
…
ImportBatchProfiles.pm Bug 23019: (follow-up) Fix other things 2020-11-11 15:55:49 +01:00
Items.pm
…
Libraries.pm
…
OAuth.pm
…
Patrons.pm Bug 27353: Set X-Base-Total-Count header for REST API 2021-01-28 16:41:21 +01:00
Quotes.pm Bug 27251: Rewrite QOTD with the Koha REST API 2021-01-29 09:03:45 +01:00
ReturnClaims.pm
…
Stage.pm
…
Static.pm Bug 27179: Misspelling of Method in REST API files 2021-01-22 14:59:27 +01:00