From db0fdbbcea418093fb22520f37903cf4c30538fe Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 14 Dec 2015 09:32:50 +0000 Subject: [PATCH] [SIGNED-OFF] 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 --- 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 bf85bf6..d6b9a36 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 ) %]
@@ -845,7 +846,6 @@ function checkMultiHold() { [% END %] [% END %] -[% END %]
-- 2.1.4