From 2b1ab88ddf1679e5dc7d09ef717fd5ca5f3df59a Mon Sep 17 00:00:00 2001
From: Laura Escamilla
Date: Fri, 12 Apr 2024 15:05:11 +0000
Subject: [PATCH] Bug 36595: Updated to add mailto: -- Add patron email 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
---
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 21bfc506b7..dfa0078123 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,7 +211,7 @@
[% UNLESS Koha.Preference('HidePatronName') %]
[% itemsloo.patron.phone | html %]
- [% itemsloo.patron.email | html %]
+ [% itemsloo.patron.notice_email_address | html %]
[% END %]
[% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %]) |
--
2.30.2