Bugzilla – Attachment 105810 Details for
Bug 24151
Add a pseudonymization process for patrons and transactions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24151: Adding keep_for_anonymized to the UI
Bug-24151-Adding-keepforanonymized-to-the-UI.patch (text/plain), 3.29 KB, created by
Jonathan Druart
on 2020-06-12 14:05:35 UTC
(
hide
)
Description:
Bug 24151: Adding keep_for_anonymized to the UI
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-06-12 14:05:35 UTC
Size:
3.29 KB
patch
obsolete
>From e52dcef469ce58d34757d646470af039955d7846 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 27 Nov 2019 16:43:00 +0100 >Subject: [PATCH] Bug 24151: Adding keep_for_anonymized to the UI > >Sponsored-by: Association KohaLa - https://koha-fr.org/ > >Signed-off-by: Signed-off-by: Sonia Bouis <sonia.bouis@univ-lyon3.fr> >--- > admin/patron-attr-types.pl | 2 ++ > .../prog/en/modules/admin/patron-attr-types.tt | 13 +++++++++++++ > 2 files changed, 15 insertions(+) > >diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl >index 8aab052be4..b1e0a4d422 100755 >--- a/admin/patron-attr-types.pl >+++ b/admin/patron-attr-types.pl >@@ -120,6 +120,7 @@ sub add_update_attribute_type { > my $opac_display = $input->param('opac_display') ? 1 : 0; > my $opac_editable = $input->param('opac_editable') ? 1 : 0; > my $staff_searchable = $input->param('staff_searchable') ? 1 : 0; >+ my $keep_for_pseudonymization = $input->param('keep_for_pseudonymization') ? 1 : 0; > my $authorised_value_category = $input->param('authorised_value_category'); > my $display_checkout = $input->param('display_checkout') ? 1 : 0; > my $category_code = $input->param('category_code') || undef; >@@ -152,6 +153,7 @@ sub add_update_attribute_type { > opac_display => $opac_display, > opac_editable => $opac_editable, > staff_searchable => $staff_searchable, >+ keep_for_pseudonymization => $keep_for_pseudonymization, > authorised_value_category => $authorised_value_category, > display_checkout => $display_checkout, > category_code => $category_code, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >index 862dad52fc..945ca3a78c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >@@ -1,5 +1,6 @@ > [% USE raw %] > [% USE Asset %] >+[% USE Koha %] > [% USE AuthorisedValues %] > [% USE Branches %] > [% USE scalar %] >@@ -135,6 +136,18 @@ > <span>Check to show this attribute in the brief information panel in the patron's record (staff interface).</span> > </li> > >+ [% IF Koha.Preference('Pseudonymization') %] >+ <li> >+ <label for="keep_for_pseudonymization">Keep for pseudonymization: </label> >+ [% IF attribute_type AND attribute_type.keep_for_pseudonymization %] >+ <input type="checkbox" id="keep_for_pseudonymization" name="keep_for_pseudonymization" checked="checked" /> >+ [% ELSE %] >+ <input type="checkbox" id="keep_for_pseudonymization" name="keep_for_pseudonymization" /> >+ [% END %] >+ <span>Check to make this attribute copied to the patron's pseudonymized attributes.</span> >+ </li> >+ [% END %] >+ > <li><label for="authorised_value_category">Authorized value category: </label> > <select name="authorised_value_category" id="authorised_value_category"> > <option value=""></option> >-- >2.20.1
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 24151
:
95959
|
95960
|
95961
|
95962
|
95963
|
95964
|
95965
|
95966
|
95967
|
95968
|
95969
|
95970
|
95971
|
95972
|
95973
|
95974
|
95975
|
95976
|
97240
|
97241
|
97242
|
97243
|
97244
|
97245
|
97246
|
97247
|
97248
|
97249
|
97250
|
97251
|
97252
|
101034
|
101035
|
101036
|
101037
|
101038
|
101039
|
101040
|
101041
|
101042
|
101043
|
101044
|
101045
|
101046
|
101047
|
101048
|
101049
|
105801
|
105802
|
105803
|
105804
|
105805
|
105806
|
105807
|
105808
|
105809
|
105810
|
105811
|
105812
|
105813
|
105814
|
105815
|
105816
|
106032
|
106033
|
106034
|
106035
|
106036
|
106037
|
106038
|
106039
|
106040
|
106041
|
106042
|
106043
|
106044
|
106045
|
106046
|
106047
|
106048
|
106049
|
106195
|
106255
|
107127
|
107225