From cedd4371003be737546cebb850b73b68893f7415 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 12 Aug 2024 19:47:33 +0000 Subject: [PATCH] Bug 15461: (follow-up) Make filtering work right when using seperate column Signed-off-by: Andrew Fuerste-Henry --- .../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 b680124f0dd..c337525e849 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 @@ -381,7 +381,7 @@ orderable: true, render: function (data, type, row, meta) { let nodes = '%s'.format(escape_str(row._strings.holding_library_id.str)); - [% IF ( Koha.Preference('StaffLocationOnDetail') == 'home' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] + [% IF ( Koha.Preference('StaffLocationOnDetail') == 'holding' || Koha.Preference('StaffLocationOnDetail') == 'both' ) %] nodes += '' [%# If permanent location is defined, show description or code and %] [%# display current location in parentheses. If not, display current location. %] @@ -425,7 +425,7 @@ searchable: true, orderable: true, render: function (data, type, row, meta) { - return escape_str(row._strings.collection_code.str); + return escape_str(row._strings.location.str); } }, [% END %] -- 2.39.2