From 088533edc7d1e835c26191b0b6de745c7b464b20 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 6 Mar 2026 05:33:41 +0000 Subject: [PATCH] Bug 40816: (follow-up) change DataTables search descriptions to use text rather than HTML We shouldn't really be picking the HTML from the header when all we really need is the text content of the header cell. --- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js index 7b6dde8a7c6..208ab436e3c 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js +++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js @@ -1362,7 +1362,7 @@ function update_search_description( column_searches.push( "%s=%s".format( - table_dt.column(i).header().innerHTML, + table_dt.column(i).header().textContent, search ) ); -- 2.39.5