https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10190
--- Comment #353 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 194081 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194081&action=edit Bug 10190: fix NaN trigger number when adding first rule for a library When no circulation rules exist for a library, triggerCounts[library_id] is undefined, causing undefined + 1 = NaN. Use nullish coalescing to default to 0 so the first trigger correctly gets number 1. -- 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/
