Bug 18886 - Restructure storage of circulation rules to reduce complexity and enable increased flexiblity
Summary: Restructure storage of circulation rules to reduce complexity and enable incr...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 15522 15524 18887
Blocks: 15521 19001
  Show dependency treegraph
 
Reported: 2017-06-30 16:06 UTC by Kyle M Hall (khall)
Modified: 2024-10-17 18:03 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle M Hall (khall) 2017-06-30 16:06:25 UTC
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.