]> git.koha-community.org Git - koha.git/commit
Bug 22789: Add non priority feature to C4 classes and staff interface
authorAgustin Moyano <agustinmoyano@theke.io>
Wed, 19 Aug 2020 21:12:32 +0000 (18:12 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 31 Aug 2020 14:10:25 +0000 (16:10 +0200)
commitd390b2f7cfe947011a80c9441ca0a8a00e2f38f0
tree21ae47dbba826cfe9eab2e223b489403d45ca401
parent64340cfa520b0d5ff9289afb628e3b7e7c31df3d
Bug 22789: Add non priority feature to C4 classes and staff interface

This patch implements necesary code to implement non priority feature

To test:
1) Apply all patches.
2) Run updatedatabase.
3) Checkout a specific item for patron1.
4) Place a hold on the same item for patron2 (do not check non priority
   hold checkbox).
5) Try to renew the item for patron1.
CHECK => in checkouts table, there is a message that the item could not
be renewed because there was a hold.
6) Cleanup all checkouts and holds.
7) repeat steps 3 to 5, but this time check the non priority checkbox.
SUCCESS => item was renewed
8) prove t/db_dependent/Holds.t

Signed-off-by: Lisette Scheer <lisettes@latahlibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
C4/Reserves.pm
Koha/REST/V1/Holds.pm
api/v1/swagger/definitions/hold.json
api/v1/swagger/paths/holds.json
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/placerequest.pl