From 53013c044721fcd733e75a5a6ef6f79114c1d30f Mon Sep 17 00:00:00 2001
From: Laura Escamilla
Date: Fri, 12 Apr 2024 12:10:12 +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. Disable the ‘HidePatronName’ system preference
1. Check the holds queue again and notice that no contact information can be seen for the patron
6. Sign off and have an amazing day :D
---
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 1 +
1 file changed, 1 insertion(+)
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 49f2342125..21bfc506b7 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
@@ -211,6 +211,7 @@
[% UNLESS Koha.Preference('HidePatronName') %]
[% itemsloo.patron.phone | html %]
+ [% itemsloo.patron.email | html %]
[% END %]
[% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %]) |
--
2.30.2