https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36235 Bug ID: 36235 Summary: System preferences chopping everything after a semicolon. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com I noticed this with IntranetUserJS. To recreate: 1. Add some JS that includes a semicolon to IntranetUserJS: $(document).ready(function() { let my_old_cat = $('#categorycode_entry').val(); console.log(my_old_cat); $('#categorycode_entry').on('change' , function() { let my_new_cat = $('#categorycode_entry').val(); console.log( my_old_cat ); console.log( my_new_cat ); }); }); 2. Save and reload, or check in DB and you'll see this value: $(document).ready(function() { let my_old_cat = $('#categorycode_entry').val() To see in DB you can use: select value from systempreferences where variable = 'IntranetUserJS'; -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.