From 4b27a04f5d33a7c30cc01daf6c7cc14af3cbab38 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 610c968649..dc14f40b67 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -63,6 +63,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 8a05f6c454..8ae047b93a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -300,6 +300,20 @@ [% END %] + [% UNLESS forced_hold_level && ( forced_hold_level == 'item' || forced_hold_level == 'record' ) %] + [% IF bibitemloo.object.volumes %] +
  • + + +
  • + [% END %] + [% END %] + [% IF ( OpacHoldNotes ) %]
  • @@ -315,7 +329,7 @@ [% IF bibitemloo.itemholdable %]