https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39846
Bug ID: 39846
Summary: Holds Queue Local Holds Priority checks items after an
item has been allocated
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Hold requests
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
foreach my $request (@$hold_requests) {
...
foreach my $item (@$available_items) {
...
if ($local_hold_match)
if ( exists $items_by_itemnumber{
$item->{itemnumber} }
and not exists $allocated_items{
$item->{itemnumber} }
and not $request->{allocated} )
{
This code checks each item for local holds priority and then goes to the next
item if request is already allocated, but we should check earlier in the loop
and go to the next request if the first one is already filled.
--
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]
https://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/