From 7cf8852afdf2e52def798f0444f4cf1198c84bc3 Mon Sep 17 00:00:00 2001
From: Laura_Escamilla
Date: Wed, 24 Jul 2024 19:28:29 +0000
Subject: [PATCH] Bug 36595: Added email address field to the holds queue table
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
To test:
1. Make sure that the system preference ‘HidePatronName’ is set to
‘Show’
2. Select a patron that has a primary email address set in their
contact information.
1. Place a hold for that patron
3. Build the holds queue: perl /kohadevbox/koha/misc/cronjobs/holds/build_holds_queue.pl
4. Check the holds queue and notice that the patron column includes the
patron’s email
5. Click on the hyperlinked email. It will open a new email with the
subject of "Hold item: (your biblio title)"
6. Disable the ‘HidePatronName’ system preference
1. Check the holds queue again and notice that no contact
information can be seen for the patron
7. Sign off and have an amazing day :D
Signed-off-by: Matt Blenkinsop
Signed-off-by: Martin Renvoize
---
.../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
index 3a88c14e873..d34306b3ec3 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
@@ -218,6 +218,10 @@
[% UNLESS Koha.Preference('HidePatronName') %]
[% itemsloo.patron.phone | html %]
+
+
+ [% itemsloo.patron.notice_email_address | html %]
+
[% END %]
[% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %]) |
--
2.45.2