Bugzilla – Attachment 178959 Details for
Bug 37901
Add ILL pseudonymization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37901: Preparation: Update borrower attribute types logic
Bug-37901-Preparation-Update-borrower-attribute-ty.patch (text/plain), 1.16 KB, created by
Pedro Amorim
on 2025-03-05 12:54:05 UTC
(
hide
)
Description:
Bug 37901: Preparation: Update borrower attribute types logic
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-03-05 12:54:05 UTC
Size:
1.16 KB
patch
obsolete
>From 05e8e7b115b0f4752fae47daa78472e1e2cf1526 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 3 Mar 2025 15:38:32 -0100 >Subject: [PATCH] Bug 37901: Preparation: Update borrower attribute types logic > >This now conforms to the new pseudonymized_metadata_values instead of pseudonymized_borrower_attributes >--- > Koha/PseudonymizedTransaction.pm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/Koha/PseudonymizedTransaction.pm b/Koha/PseudonymizedTransaction.pm >index ee243d76e67..845505143ca 100644 >--- a/Koha/PseudonymizedTransaction.pm >+++ b/Koha/PseudonymizedTransaction.pm >@@ -103,8 +103,11 @@ sub new_from_statistic { > > delete $attribute->{id}; > delete $attribute->{borrowernumber}; >+ $attribute->{key} = delete $attribute->{code}; >+ $attribute->{value} = delete $attribute->{attribute}; >+ $attribute->{tablename} = 'borrower_attributes'; > >- $self->_result->create_related( 'pseudonymized_borrower_attributes', $attribute ); >+ $self->_result->create_related( 'pseudonymized_metadata_values', $attribute ); > } > } > >-- >2.39.5
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 37901
:
178356
|
178956
|
178957
|
178958
|
178959
|
178960
|
178961
|
178962
|
178963
|
178964
|
178965
|
178966
|
178967
|
178968
|
178980
|
178981
|
178982
|
178983
|
178984
|
178985
|
178986
|
178987
|
178988
|
178989
|
178990
|
178991
|
178992
|
181008
|
181009
|
181010
|
181011
|
181012
|
181013
|
181014
|
181015
|
181016
|
181017
|
181018
|
181019
|
181020