Bug 22789: (follow-up) Fix atomic update, GUI and more than one hold
authorAgustin Moyano <agustinmoyano@theke.io>
Tue, 25 Aug 2020 17:53:55 +0000 (14:53 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 31 Aug 2020 14:10:25 +0000 (16:10 +0200)
commit4b43c886a0ce030e50c894f941665b7c92d50f00
treec065545ac87c527ae7bd7d122057510cbede50f7
parentd390b2f7cfe947011a80c9441ca0a8a00e2f38f0
Bug 22789: (follow-up) Fix atomic update, GUI and more than one hold

This patch
* sets one check for reserves and another for old_reserves in
atomic update
* Adds a message below the checkbox and adds detail when a hold is non
  priority
* Fixes issue when there are more than one hold, but the first is non
  priority
* Adds test case for this last scenario

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
installer/data/mysql/atomicupdate/bug_22789.perl
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/request.pl
t/db_dependent/Holds.t