]> git.koha-community.org Git - koha.git/commit
Bug 35599: Fix Pronouns and HidePersonalPatronDetailOnCirculation
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 25 Mar 2024 14:53:10 +0000 (15:53 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 09:40:01 +0000 (11:40 +0200)
commita728c6582828ca458edf647c017e26fe020cb827
treecce67fafa4e18c83d2ec793bd1a0bcc9c9bb726a
parentedbb8896f067e1e2f7453b1f29bc129110237e99
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>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 07738adbf08a66fdb91728dedc1362a8a75a3067)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc