| Summary: | GetReserveStatus does not deal with found="T" | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
| Component: | Hold requests | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | gmcharlt, nick |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
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.