http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9575 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- QA comment: Why do you modify 2 routines when you can just modify the pl file? To me, Getbranches($foo, $branch) is not consistent. I think you can do something like if ( C4::Context->preference('IndependantBranches') ) { $reserve{'branchloop'} = GetBranchDetail($res->{'branchcode'}); } else { $reserve{'branchloop'} = GetBranchesLoop($res->{'branchcode'}); } Feel free to discuss if you disagree :) -- You are receiving this mail because: You are watching all bug changes.