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 105-111 my %optional = ( Link Here
105
    'GetAuthorityRecords' => ['schema'],
105
    'GetAuthorityRecords' => ['schema'],
106
    'LookupPatron'        => ['id_type'],
106
    'LookupPatron'        => ['id_type'],
107
    'AuthenticatePatron'  => [],
107
    'AuthenticatePatron'  => [],
108
    'GetPatronInfo'       => [ 'show_contact', 'show_fines', 'show_holds', 'show_loans' ],
108
    'GetPatronInfo'       => [ 'show_contact', 'show_fines', 'show_holds', 'show_loans', 'show_attributes' ],
109
    'GetPatronStatus'     => [],
109
    'GetPatronStatus'     => [],
110
    'GetServices'         => [],
110
    'GetServices'         => [],
111
    'RenewLoan'           => ['desired_due_date'],
111
    'RenewLoan'           => ['desired_due_date'],
112
- 

Return to bug 14257