[Koha-bugs] [Bug 10663] Holds don't block renewal in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 30 14:29:43 CEST 2013


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

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
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.


More information about the Koha-bugs mailing list