From 0e4b703d239551207ca72c5b201475418c7cfd9c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 14 Dec 2015 09:32:50 +0000 Subject: [PATCH] Bug 15357: Display existing holds even if no items exist If all the items have been deleted for a record and holds exist, the holds are not displayed. You are not able to delete the items from the record detail page, but you can from the items page. Test plan: 1 - Place 1 or more title level holds on a record. 2 - Delete each item individually. 3 - Note that you see the number of holds on the record details page With this patch, that holds are accessible via the holds tab. Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer Signed-off-by: Brendan A Gallagher --- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 3152f7f75f..85f687ab84 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -228,8 +228,9 @@ function checkMultiHold() { [% ELSE %] Cannot place hold: this record has no items attached. [% END %] - -[% ELSE %] + +[% END %] + [% IF ( messagetransfert ) %]

Hold found for ([% nextreservtitle %]), please transfer

@@ -247,7 +248,7 @@ function checkMultiHold() {

Confirm holds

[% END %] - [% UNLESS ( borrowernumber ) %] + [% UNLESS borrowernumber OR noitems %] [% IF ( messageborrower ) %]

Patron not found

No patron with this name, please, try another

[% END %] @@ -296,7 +297,7 @@ function checkMultiHold() { [% END %] - [% ELSE %] + [% ELSIF NOT noitems %] [% IF ( exceeded_maxreserves || alreadyreserved || none_available || alreadypossession || ageRestricted ) %]
@@ -851,7 +852,6 @@ function checkMultiHold() { [% END %] [% END %] -[% END %]
-- 2.39.5