From 86feb0012ad6c43c5c4724691dd4a3a1d341d36a Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 2 Feb 2021 12:25:29 -0500 Subject: [PATCH] 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 --- Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 | 4 ++-- Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 %] -- 2.11.0