https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27834
--- Comment #18 from Marcel de Rooy <[email protected]> --- The following code changes are similar but not identical: PREVIOUS item library. Note here that the branchcode from the rule is either "item branch" or undefined ! $checkouts = $patron->checkouts->search( { "item.$branch_type" => $maxissueqty_rule->branchcode } ); CURRENT item scope. Note that the fallback to homebranch (from CircControlBranch) is eliminated here ! $checkouts = $patron->checkouts->search( { "item.$branch_type" => $item->$branch_type } ); PREVIOUS pickup library. Note here that the branchcode from the rule is either the userenv branch OR undefined ! $checkouts = $patron->checkouts->search( { 'me.branchcode' => $maxissueqty_rule->branchcode } ); CURRENT pickup scope where pickup_branch comes from userenv $checkouts = $patron->checkouts->search( { 'me.branchcode' => $pickup_branch } ); -- You are receiving this mail because: 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/
