Koha-clms/Koha/REST/V1
Jonathan Druart 11b44869d9
Bug 14711: Change prototype for AddReserve - pass a hashref
The number of parameters of AddReserve makes it hard to read and
maintain.
This patch replace it with a hashref, which will make the calls more
readable.

Moreover the bibitems has been removed as it was not used by the
subroutine.

Test plan:
- Make sure the tests pass
- Read the diff and search for typos
- Place a hold on few items

Note for QA: reservation_date and expiration_date do not match the DB column's names,
should we?

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-11 14:32:47 +00:00
..
Acquisitions Bug 18731: (QA follow-up) Spelling and POD corrections 2020-01-09 16:26:07 +00:00
Clubs Bug 23843: Add mapping to Koha::Club::Holds 2019-10-23 18:03:03 +01:00
Patrons Bug 24321: Clean /patrons/{patron_id}/account 2020-01-08 14:42:52 +00:00
Auth.pm Bug 18731: Make authenticate_api_request stash the embed structure 2020-01-09 16:25:23 +00:00
Biblios.pm Bug 24366: Merge biblioitem in Koha::Biblio->to_api 2020-01-14 14:12:46 +00:00
Checkouts.pm Bug 18936: (follow-up) Fix checkouts endpoint and its tests 2020-02-04 09:56:30 +00:00
CirculationRules.pm Bug 18936: (QA follow-up) Add missing POD 2020-02-04 09:56:30 +00:00
Cities.pm Bug 24321: Clean /cities 2020-01-08 14:42:22 +00:00
Holds.pm Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
Illrequests.pm Bug 21460: (follow-up) Fix bugs found in QA 2019-04-25 10:46:56 +00:00
Items.pm Bug 24321: Clean /items 2020-01-08 14:42:48 +00:00
Libraries.pm Bug 24321: Clean /libraries 2020-01-08 14:42:36 +00:00
OAuth.pm Bug 23146: Add support for Basic auth on the OAuth2 token endpoint 2019-06-24 16:05:31 +01:00
Patrons.pm Bug 24321: Clean /patrons 2020-01-08 14:43:00 +00:00
ReturnClaims.pm Bug 14697: (QA follow-up) Organize tests in subtests 2019-10-31 12:05:14 +00:00
Stage.pm Revert "Bug 22026: Removed 'use Modern::Perl;' from Koha::REST::classes" 2019-02-26 11:04:08 -05:00
Static.pm Bug 22835: (follow-up) Remove comented code 2019-06-18 17:34:53 +01:00