From: Galen Charlton Date: Wed, 16 Dec 2020 16:10:20 +0000 (-0500) Subject: lp1863252 fix unrelated issue that was breaking display of the copy_table X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a4da5fdfc018079ee73dd19f7eb497d6c5735c34;p=Evergreen.git 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 --- 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 %]