From: Jason Etheridge Date: Tue, 2 Feb 2021 17:25:29 +0000 (-0500) Subject: fix for Show More Copies link X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fb3041a4797454f0ca9e3a1c924082cc2a11df88;p=working%2FEvergreen.git fix for Show More Copies link The commit for "LP1687545: Force TT CGI plugin to use ampersands in query strings" has © in URL's turning into the copyright symbol, mangling query params such as ©_offset and ©_limit This needs a more comprehensive fix, see: https://bugs.launchpad.net/evergreen/+bug/1914116 Signed-off-by: Jason Etheridge Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 index f212ef42db..fa874f33e2 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 @@ -361,11 +361,11 @@ END; # FOREACH bib [%- more_copies_limit = 50 %] [%# TODO: config %] [%- IF ctx.copy_limit != more_copies_limit AND copies.size >= ctx.copy_limit AND ctx.copy_limit < total_copies %] [%- ELSIF ctx.copy_limit == more_copies_limit %] [%- END %] 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 358b836b16..6d57093c7c 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -362,11 +362,11 @@ END; # FOREACH bib [%- IF ctx.copy_limit != more_copies_limit AND copies.size >= ctx.copy_limit AND ctx.copy_limit < total_copies %] [%- ELSIF ctx.copy_limit == more_copies_limit %] [%- END %]