From 32f2733de34c34249b4dd406644b4f3c43660ba6 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 10 Mar 2020 07:27:25 -0400 Subject: [PATCH] Bug 24860: Add ability to select a volume when placing a hold - OPAC Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Rebecca Coert --- .../bootstrap/en/includes/holds-table.inc | 3 +++ .../bootstrap/en/modules/opac-reserve.tt | 23 ++++++++++++++++++- opac/opac-reserve.pl | 7 ++++++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc index cf72809082..a45de1399c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -58,6 +58,9 @@ [% END %] [% HOLD.biblio.author | html %] + [% IF HOLD.volume_id %] +
Next available item from volume [% HOLD.volume.description | html %] + [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index ec4aaf5b03..c9372327fe 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -306,6 +306,20 @@ [% END %] + [% UNLESS forced_hold_level && ( forced_hold_level == 'item' || forced_hold_level == 'record' ) %] + [% IF bibitemloo.object.volumes %] +
  • + + +
  • + [% END %] + [% END %] + [% IF ( OpacHoldNotes ) %]
  • @@ -321,7 +335,7 @@ [% IF bibitemloo.itemholdable %]