https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10190
--- Comment #352 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 194080 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194080&action=edit Bug 10190: remove has_rules sentinel from circulation_rules table has_rules was a purely frontend marker stored as a circulation rule to signal that a context had explicitly-saved overdue trigger rules. The backend never reads it; the information is fully derivable from whether any of delay/notice/mtt/restrict are non-null for a given context. Replace all has_rules DB reads/writes with a hasExplicitRulesForTrigger() helper that checks the four real rule suffixes directly. has_rules remains as a computed in-memory concept in the Vue store (derived in findEffectiveRule) so templates require no changes. Also adds an atomicupdate to delete existing has_rules rows from the DB, and removes the has_rules insert from the bug_10190 migration script. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
