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)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 22 Feb 2018 01:04:52 +0000 (01:04 +0000)
commitcbf59b1fa602eb503a4570a13f79f128bcce9a48
tree8cba985b4a80251beaa27b0f463944c29403a319
parent0442865a9e141b00031adde99526e756b9a6c3bf
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