https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41237
--- Comment #9 from Marcel de Rooy <[email protected]> --- OLD If you had $patron, pass branchcode and cardnumber [WITHOUT using it btw] to backend_create. In that sub always look for AddCont on library_id => $params->{branchcode} so patron branch OR undefined (all libs). NEW Pass cardnumber but do NO LONGER pass branchcode. ONLY look for AddCont with library_id if you got patron->branchcode via cardnumber. So you never look at library_id undefined (all libs); instead you accept copyright clearance from any branch when there is no patron. QA COMMENT It seems odd to look up cardnumber in create_backend if you can pass $patron from the caller. Although I am not familiar with this workflow, the algorithm does not feel good. Yeah I could be mistaken too :) -- 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/
