From ddd1b839be87049c6350e86ee666d9c0e02cb09d 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 c234cfd5e4..5091c86ca8 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 @@ -367,7 +367,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. %] @@ -411,7 +411,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