[Koha-bugs] [Bug 8369] default_branch_circ_rule and default_circ_rules tables useless
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 7 16:19:36 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8369
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #13416|0 |1
is obsolete| |
--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 13929
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13929&action=edit
[SIGNED-OFF] Bug 8369: Merge tables for circulation rules.
This patch adds 3 new tables:
- circ_rules
- borrower_circ_rules
- item_circ_rules
It removes 6 tables:
- default_borrower_circ_rules
- default_branch_circ_rules
- default_branch_item_rules
- default_circ_rules
- branch_borrower_circ_rules
- branch_item_rules
The goal is to merge circulations rules into 3 tables instead of 6 without
add or remove features. Previous behaviours do not change.
The wildcard '*' character is a rule for the default values. Then it is
possible to merge 2 tables into one if we consider that the default value is
the value with a branchcode eq '*'.
I removed the foreign key constraint with branchcode and added 3 queries
in the C4::Branch::DelBranch routine in order to remove records about a
deleted branch.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list