Bugzilla – Attachment 107127 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: Use fully qualified names for UpdateStats
Bug-24151-Use-fully-qualified-names-for-UpdateStat.patch (text/plain), 1.42 KB, created by
Jonathan Druart
on 2020-07-21 08:03:55 UTC
(
hide
)
Description:
Bug 24151: Use fully qualified names for UpdateStats
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-07-21 08:03:55 UTC
Size:
1.42 KB
patch
obsolete
>From cbd005ad9d4d067acfa84d30ceeb82347f43f14e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 21 Jul 2020 09:57:08 +0200 >Subject: [PATCH] Bug 24151: Use fully qualified names for UpdateStats > >t/db_dependent/Koha/Account/Line.t .. 8/12 # Looks like you planned 16 tests but ran 3. > # Failed test 'void() tests' > # at t/db_dependent/Koha/Account/Line.t line 723. >Undefined subroutine &Koha::Account::UpdateStats called at /kohadevbox/koha/Koha/Account.pm line 289. > >It's certainly caused by a circ dep from > commit 5ce968e0e571f555261c02a9e1d27447611cdb89 > Bug 24151: Copy info to the pseudonymized table when a transaction is done > >See also bug 17600 for more context. >--- > Koha/Account.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index de251c52da..2a63856b52 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -279,7 +279,7 @@ sub pay { > $o->store(); > } > >- UpdateStats( >+ C4::Stats::UpdateStats( > { > branch => $library_id, > type => lc($type), >@@ -435,7 +435,7 @@ sub add_credit { > } > )->store(); > >- UpdateStats( >+ C4::Stats::UpdateStats( > { > branch => $library_id, > type => lc($credit_type), >-- >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