[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
Tue Nov 13 05:57:04 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8369
Mason James <mtj at kohaaloha.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #13229|0 |1
is obsolete| |
--- Comment #10 from Mason James <mtj at kohaaloha.com> ---
Created attachment 13416
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13416&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.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list