Bug 37842

Summary: GetReserveStatus does not deal with found="T"
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, nick
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jonathan Druart 2024-09-05 13:05:45 UTC
786     if(defined $found) {
 787         return 'Waiting'  if $found eq 'W' and $priority == 0;
 788         return 'Processing'  if $found eq 'P';
 789         return 'Finished' if $found eq 'F';
 790     }
 791 
 792     return 'Reserved' if defined $priority && $priority > 0;
 793 
 794     return ''; # empty string here will remove need for checking undef, or less log lines


It seems that we should deal with $found="T" here.