[Koha-bugs] [Bug 18887] Introduce new table 'circulation_rules', use for 'max_holds' rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 10 21:48:24 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18887

--- Comment #6 from Jesse Weaver <pianohacker at gmail.com> ---
Comment on attachment 65233
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65233
Bug 18887 - Update database

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

::: installer/data/mysql/atomicupdate/bug_18887.perl
@@ +24,5 @@
> +    });
> +
> +    $dbh->do(q{
> +        INSERT INTO circulation_rules ( branchcode, categorycode, itemtype, rule_name, rule_value )
> +        SELECT NULL, categorycode, NULL, 'max_holds', max_holds FROM branch_borrower_circ_rules

Shouldn't this SELECT be pulling from `default_borrower_circ_rules`?

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


More information about the Koha-bugs mailing list