From a4da5fdfc018079ee73dd19f7eb497d6c5735c34 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 16 Dec 2020 11:10:20 -0500 Subject: [PATCH] lp1863252 fix unrelated issue that was breaking display of the copy_table Without this, lack of a 'loc' CGI parameter breaks the page. This was introduced in the course materials work and just appears to be wrong, but should be double-checked. Signed-off-by: Galen Charlton Signed-off-by: Terran McCanna --- Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index dc47ab7d15..358b836b16 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -122,8 +122,7 @@ IF has_copies or ctx.foreign_copies; [% bib.target_copy.location.name | html %] [% bib.target_copy.status.name | html %] [% date.format(ctx.parse_datetime(copy_info.due_date, copy_info.circ_circ_lib),DATE_FORMAT) %] - [%- IF ctx.get_org_setting(CGI.param('loc')) - OR use_courses %] + [%- IF use_courses %] [%- END %] [%- IF ctx.geo_sort && ctx.has_valid_coords %] -- 2.11.0