https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10190 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #195585|0 |1 is obsolete| | --- Comment #495 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 195663 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195663&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. Signed-off-by: Michaela <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.