@@ -, +, @@ --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 1 + .../prog/en/modules/opac-results-grouped.tt | 1 + .../opac-tmpl/prog/en/modules/opac-results.tt | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -58,6 +58,7 @@ function highlightOn() { var x; for (x in q_array) { + q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1"); $(".title").highlight(q_array[x]); $(".author").highlight(q_array[x]); $(".results_summary").highlight(q_array[x]); --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt @@ -83,6 +83,7 @@ function highlightOff() { function highlightOn() { var x; for (x in q_array) { + q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1"); $("td").highlight(q_array[x]); } $(".highlight_toggle").toggle(); --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -98,6 +98,7 @@ function highlightOff() { function highlightOn() { var x; for (x in q_array) { + q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1"); if ( q_array[x].length > 0 ) { $(".title").highlight(q_array[x]); $(".author").highlight(q_array[x]); --