https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42790
--- Comment #12 from Paul Derscheid <[email protected]> --- 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 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
