From 960a66c261f9b208325d365ecc752e9d9932d365 Mon Sep 17 00:00:00 2001 From: bblaisATcoveo Date: Tue, 3 Dec 2024 16:50:27 -0500 Subject: [PATCH] Result labels as list items Fix for issue #381226. Labels in the result list should be displayed as list labels and not a single list item separated by semicolon (;) --- src/connector.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/connector.js b/src/connector.js index faf0c7a..4a52d05 100644 --- a/src/connector.js +++ b/src/connector.js @@ -869,13 +869,9 @@ function updateResultListState( newState ) { else { author = result.raw.author; } - if( params.isContextSearch ) { - author = author.replace( ';', ', ' ); - } - else { - author = author.replace( ',', ';' ); - author = author.replace( ';' , '
  • ' ); - } + + author = author.replaceAll( ';' , '
  • ' ); + } } sectionNode.innerHTML = resultTemplateHTML