Bugzilla – Attachment 164006 Details for
Bug 35599
Pronouns and HidePersonalPatronDetailOnCirculation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35599: Fix Pronouns and HidePersonalPatronDetailOnCirculation
Bug-35599-Fix-Pronouns-and-HidePersonalPatronDetai.patch (text/plain), 1.72 KB, created by
ByWater Sandboxes
on 2024-03-27 14:05:44 UTC
(
hide
)
Description:
Bug 35599: Fix Pronouns and HidePersonalPatronDetailOnCirculation
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2024-03-27 14:05:44 UTC
Size:
1.72 KB
patch
obsolete
>From 1eda5612e364e5c7275ab23301e30cd99b73d3d5 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 25 Mar 2024 15:53:10 +0100 >Subject: [PATCH] Bug 35599: Fix Pronouns and > HidePersonalPatronDetailOnCirculation > >Bug 10950 adds a pronouns text field to the patron record. >Currently it is hidden by system preference 'HidePersonalPatronDetailOnCirculation'. > >This patch moves pronouns outside this system preference influence. > >Test plan: >1) Add pronouns to a patron >2) Set system preference 'HidePersonalPatronDetailOnCirculation' to "Don't hide" >3) Check you see pronouns in circulation page > /cgi-bin/koha/circ/circulation.pl?borrowernumber=X >4) Set system preference 'HidePersonalPatronDetailOnCirculation' to "Hide" >5) Refresh circulation page >=> Without patch pronouns are hidden >=> With patch pronouns are displayed > >Signed-off-by: Hebah <hebah@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index bb12e1bef3..6facc63971 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -57,10 +57,12 @@ > [% END %] > > <ul class="patronbriefinfo"> >+ >+ [% IF patron.pronouns %] >+ <li class="patronpronouns">([% patron.pronouns | html %])</li> >+ [% END %] >+ > [% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %] >- [% IF patron.pronouns %] >- <li class="patronpronouns">([% patron.pronouns | html %])</li> >- [% END %] > > [% PROCESS 'display-address-style' %] > >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35599
:
163821
|
164006
|
164011