[Koha-bugs] [Bug 25554] Refactor rule kinds assignments in CirculationRules.pm
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 8 10:37:46 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25554
--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
What about the following?
$scopes => [
{
scope => [ qw( branchcode ) ],
rules => [ qw( refund ) ],
},
{
scope => [ qw( branchcode categorycode ) ],
rules => [ qw( patron_maxissueqty patron_maxonsiteissueqty max_holds ... )
],
},
...
{
scope => [ qw( branchcode categorycode itemtype ) ],
rules => [ qw( article_requests auto_renew cap_fine_to_replacement_price
...) ],
},
];
ie you define using a different structure, then you "revert" it to generate the
existing structure.
Don't implement it yet, I am not sure I agree with myself :D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list