Bug 37842 - GetReserveStatus does not deal with found="T"
Summary: GetReserveStatus does not deal with found="T"
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-05 13:05 UTC by Jonathan Druart
Modified: 2024-09-05 13:05 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.