[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
Wed Aug 21 12:14:11 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8369
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #14930|0 |1
is obsolete| |
--- Comment #23 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 20532
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20532&action=edit
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>
Signed-off-by: Mason James <mtj at kohaaloha.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list