From ff0659cbdfe95033c6929c8157febae8f939630b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 6 Jan 2026 10:09:11 +0100 Subject: [PATCH] Bug 41047: Sort libraries by description instead of code On the holdings tables the libraries are sorted by code, we should sort them by description. --- .../includes/html_helpers/tables/items/catalogue_detail.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc index d74198bdaf0..4acd6282d63 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -403,7 +403,7 @@ }, [% END %] { - data: "me.holding_library_id", + data: "holding_library.name:me.holding_library_id", datatype: "coded_value:library", dataFilter: "libraries", className: "location", @@ -414,7 +414,7 @@ } }, { - data: "me.home_library_id", + data: "home_library.name:me.home_library_id", datatype: "coded_value:library", dataFilter: "libraries", className: "homebranch", -- 2.43.0