http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10663

--- Comment #5 from Katrin Fischer <[email protected]> ---
This change seems to improve things quite a bit:

     if(defined $found) {
         return 'Waiting'  if $found eq 'W' and $priority == 0;
         return 'Finished' if $found eq 'F';
-        return 'Reserved' if $priority > 0;
     }
+    if (defined $priority) {
+               return 'Reserved' if $priority > 0;
+       }
     return '';

When there is a hold, but the item is not W or F priority is NULL, so those
cases were never caught here.

More tests in 3.6 show that we used to not allow renewals, when one item of
many items or of course all items of many items from a record where checked out
and a title level hold was placed. This is no longer the case and I think
related to the fact that we check by itemnumber - for title level holds the
itemnumber is not set in reserves.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to