[Koha-bugs] [Bug 10276] Extend IndependentBranches to support groups of libraries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 25 16:47:41 CEST 2015


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

--- Comment #71 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 36030
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36030
Bug 10276 [QA Followup 2] - Remove stringify, use placeholders for db queries

Review of attachment 36030:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10276&attachment=36030)
-----------------------------------------------------------------

::: C4/Acquisition.pm
@@ +2401,5 @@
> +        my @branches = GetIndependentGroupModificationRights();
> +        $query .=
> +          " AND ( borrowers.branchcode = ? OR borrowers.branchcode IN ( "
> +          . join( ',', ('?') x @branches ) . " ) ) ";
> +        push( @query_params, @branches );

This is the only function which checks borrowers.branchcode. Is this correct?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list