From b6a531f9bf6756671167f533ba4bc9abaa5789bb Mon Sep 17 00:00:00 2001 From: Laura_Escamilla Date: Fri, 28 Jun 2024 17:34:05 +0000 Subject: [PATCH] Bug 37144 (still wip) --- koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js index ceaf8b8d57..6347aac1a3 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js +++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js @@ -672,6 +672,7 @@ function patron_autocomplete(node, options) { } else { loggedInClass = ""; } + return $("
  • ") .addClass(loggedInClass) .data("ui-autocomplete-item", item) @@ -695,12 +696,12 @@ function patron_autocomplete(node, options) { __("years") + ")," : "") + - " " + - $format_address(item, { + " "+ + $format_address(item, { no_line_break: true, include_li: false, - }) + - " " + + }) + " " + (!singleBranchMode ? '' + item.library.name.escapeHtml() + @@ -708,10 +709,10 @@ function patron_autocomplete(node, options) { : "") + "" + "" - ) + ) .appendTo(ul); - }); -} + }); + } function expandPatronSearchFields(search_fields) { switch (search_fields) { -- 2.39.2