https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39637 --- Comment #29 from Jonathan Druart <jonathan.druart@gmail.com> --- Why not those occurrences? koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js: let patronquery = buildPatronSearchQuery(patron, { koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js: let managed_byquery = buildPatronSearchQuery(managed_by, { koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js: let patronquery = buildPatronSearchQuery(keyword, { koha-tmpl/intranet-tmpl/prog/js/modals/display_ticket.js: let q = buildPatronSearchQuery(params.term); koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js: let q = buildPatronSearchQuery(params.term); To finally remove the JS code (and way more JS code that this function: expandPatronSearchFields, defaultPatronSearchFields, defaultPatronSearchMethod): koha-tmpl/intranet-tmpl/prog/js/staff-global.js: let q = buildPatronSearchQuery(request.term); koha-tmpl/intranet-tmpl/prog/js/staff-global.js:function buildPatronSearchQuery(term, options) { -- You are receiving this mail because: You are watching all bug changes.