From 0b673b7e569cf4992b852e6856f77527ea732669 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 14 Dec 2015 09:32:50 +0000 Subject: [PATCH] [PASSED QA] 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 --- koha-tmpl/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 3152f7f..85f687a 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 %]
-- 1.9.1