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

(-)a/Koha/REST/V1/Patrons.pm (-2 / +1 lines)
Lines 77-83 sub get { Link Here
77
77
78
    return try {
78
    return try {
79
        my $patron_id = $c->param('patron_id');
79
        my $patron_id = $c->param('patron_id');
80
        my $patron    = $c->objects->find( Koha::Patrons->search_limited, $patron_id );
80
        my $patron    = $c->objects->find( Koha::Patrons->new, $patron_id );
81
81
82
        unless ($patron) {
82
        unless ($patron) {
83
            return $c->render(
83
            return $c->render(
84
- 

Return to bug 29510