View | Details | Raw Unified | Return to bug 14257
Collapse All | Expand All

(-)a/C4/ILSDI/Services.pm (+6 lines)
Lines 34-39 use HTML::Entities; Link Here
34
use CGI qw ( -utf8 );
34
use CGI qw ( -utf8 );
35
use DateTime;
35
use DateTime;
36
use C4::Auth;
36
use C4::Auth;
37
use C4::Members::Attributes qw(GetBorrowerAttributes);
37
38
38
=head1 NAME
39
=head1 NAME
39
40
Lines 428-433 sub GetPatronInfo { Link Here
428
        $borrower->{'loans'}->{'loan'} = $issues;
429
        $borrower->{'loans'}->{'loan'} = $issues;
429
    }
430
    }
430
431
432
    if ( $cgi->param('show_attributes') eq "1" ) {
433
        my $attrs = GetBorrowerAttributes( $borrowernumber, 0, 1 );
434
        $borrower->{'attributes'} = $attrs;
435
    }
436
431
    return $borrower;
437
    return $borrower;
432
}
438
}
433
439
(-)a/opac/ilsdi.pl (-2 / +1 lines)
Lines 104-110 my %optional = ( Link Here
104
    'GetAuthorityRecords' => ['schema'],
104
    'GetAuthorityRecords' => ['schema'],
105
    'LookupPatron'        => ['id_type'],
105
    'LookupPatron'        => ['id_type'],
106
    'AuthenticatePatron'  => [],
106
    'AuthenticatePatron'  => [],
107
    'GetPatronInfo'       => [ 'show_contact', 'show_fines', 'show_holds', 'show_loans' ],
107
    'GetPatronInfo'       => [ 'show_contact', 'show_fines', 'show_holds', 'show_loans', 'show_attributes' ],
108
    'GetPatronStatus'     => [],
108
    'GetPatronStatus'     => [],
109
    'GetServices'         => [],
109
    'GetServices'         => [],
110
    'RenewLoan'           => ['desired_due_date'],
110
    'RenewLoan'           => ['desired_due_date'],
111
- 

Return to bug 14257