https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42790 --- Comment #12 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 202502 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202502&action=edit Bug 42790: (QA follow-up) Key status badge classes by status code The badge class lookup matched startsWith() against the translated status text. UI logic keyed on translated strings breaks as soon as one status's translation is a prefix of another's; the API status code is the stable key. - key the class map by row.status and keep the translations purely for display Test plan: 1. Load the patron and biblio bookings tables and confirm the badges keep their colours (new green, issued blue, cancelled/completed grey) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.