From: Jason Etheridge Date: Wed, 25 May 2022 12:30:34 +0000 (-0400) Subject: LP1901930 stub details for stub patron X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=69a25d5e65516519d04bf092aa4facbbbc49d7ba;p=working%2FEvergreen.git LP1901930 stub details for stub patron Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/SIP2.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/SIP2.pm index 6b2610216c..680dd51cf1 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/SIP2.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/SIP2.pm @@ -274,7 +274,20 @@ sub handle_patron_info { $response->{code} = '64'; - return $response unless $details; + #return $response unless $details; + unless ($details) { + push( + @{$response->{fixed_fields}}, + $SC->count4(0), # holds_count + $SC->count4(0), # overdue_count + $SC->count4(0), # out_count + $SC->count4(0), # fine_count + $SC->count4(0), # recall_count + $SC->count4(0), # unavail_holds_count + ); + return $response; + }; + my $patron = $details->{patron}; push(