Bugzilla – Attachment 101125 Details for
Bug 20443
Move C4::Members::Attributes to Koha namespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20443: Move GetBorrowerAttributes to Koha::Patron - ILSDI
Bug-20443-Move-GetBorrowerAttributes-to-KohaPatron.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2020-03-20 14:47:08 UTC
(
hide
)
Description:
Bug 20443: Move GetBorrowerAttributes to Koha::Patron - ILSDI
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-20 14:47:08 UTC
Size:
1.27 KB
patch
obsolete
>From e6a16094d9f2e71f54878c200b48bf6d6d32670f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 13 Jul 2018 09:01:03 -0300 >Subject: [PATCH] Bug 20443: Move GetBorrowerAttributes to Koha::Patron - ILSDI > >FIXME See comment > >Signed-off-by: Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/ILSDI/Services.pm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 23c4022700..0416f5c82e 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -33,7 +33,6 @@ use HTML::Entities; > use CGI qw ( -utf8 ); > use DateTime; > use C4::Auth; >-use C4::Members::Attributes qw(GetBorrowerAttributes); > use Koha::DateUtils; > > use Koha::Biblios; >@@ -505,7 +504,9 @@ sub GetPatronInfo { > > my $show_attributes = $cgi->param('show_attributes'); > if ( $show_attributes && $show_attributes eq "1" ) { >- my $attrs = GetBorrowerAttributes( $borrowernumber, 1 ); >+ # FIXME Regression expected here, we do not retrieve the same field as previously >+ # Waiting for answer on bug 14257 comment 15 >+ my $attrs = $patron->get_extended_attributes->search({ opac_display => 1 })->unblessed; > $borrower->{'attributes'} = $attrs; > } > >-- >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 20443
:
101122
|
101123
|
101124
|
101125
|
101126
|
101127
|
101128
|
101129
|
101130
|
101131
|
101132
|
101133
|
101134
|
101135
|
101136
|
101137
|
101138
|
101139
|
101140
|
101141
|
101142
|
101143
|
101144
|
101145
|
101146
|
101147
|
101148
|
101149
|
101150
|
101209
|
101210
|
101211
|
101212
|
101213
|
101214
|
101215
|
101216
|
101217
|
101218
|
101219
|
101220
|
101221
|
101222
|
101223
|
101224
|
101225
|
101226
|
101227
|
101228
|
101229
|
101230
|
101231
|
101232
|
101233
|
101234
|
101235
|
101236
|
101237
|
101472
|
104519