Bug 4319: (QA follow-up) Use ReservableItems in all scripts
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 15 Dec 2017 09:49:44 +0000 (10:49 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:02:23 +0000 (13:02 -0300)
commit9905247a481c7eb4db6d2cc38ea3f1041d66aa4b
treec37ed31dcd9a6dbcd6049a4f0eb55af445a0dc93
parent7ac45d00b6c2cabe3535ec31e901b2c6b0f6f191
Bug 4319: (QA follow-up) Use ReservableItems in all scripts

[1] Call CountItemsIssued or hasItemswaitingOrInTransit when needed only.
[2] Add this logic to ISBD and MARC detail too, since they also use
    this include.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Confirming that Place hold now comes up if you have a waiting item and
circulation rule == If any unavailable.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl
opac/opac-detail.pl