[Koha-bugs] [Bug 18886] New: Restructure storage of circulation rules to reduce complexity and enable increased flexiblity

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 30 18:06:25 CEST 2017


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

            Bug ID: 18886
           Summary: Restructure storage of circulation rules to reduce
                    complexity and enable increased flexiblity
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

This report is an omnibus bug for the Circulation Rules Revamp as defined on
the wiki (
https://wiki.koha-community.org/wiki/Circulation_Rules_Interface_and_Backend_Revamp_RFC
)

The rough outline to complete this is as follows:
1) Create new circ rules table that will eventually replace all existing rule
tables including but not limited to:
issuingrules
branch_borrower_circ_rules
branch_item_rules
default_borrower_circ_rules
default_branch_circ_rules
default_branch_item_rules
default_circ_rules
refund_lost_item_fee_rules

2) Transfer circ rules behavior over to the new table one rule at a time ( or
as groups of logically connected rules ) in separate bug reports / patch sets
to make testing and qa. The interface will remain unaltered at this point.

3) Update the rules editor interface to allow more flexibility in the way rules
are set, solve the issue of the "ever widening" rules table

4) Unleash the full power of the Koha's circulation rules by "decoupling" the
rule sets. At the moment, a full set of rules is tied to each
branch/borrower/item combo. Even if all the rules except a single column are
the same, a full set is currently created for each combination. We should be
able to set all the rules for */*/* *except* for that single rule ( e.g. loan
length ) thus greatly simplifying the rules needed.

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


More information about the Koha-bugs mailing list