[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 0d65cb2498bc12da7f956fb75a1b69f5b71ac47c

Evergreen Git git at git.evergreen-ils.org
Mon Feb 27 10:11:29 EST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_10 has been updated
       via  0d65cb2498bc12da7f956fb75a1b69f5b71ac47c (commit)
      from  bfa959111f8503bad9c6176337ab3a82db645df9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0d65cb2498bc12da7f956fb75a1b69f5b71ac47c
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Mon Feb 27 10:09:09 2017 -0500

    LP#1371772: update normalization library info URLs
    
    This patch follows up on the previous patch by adjusting
    the normalization of URLs when the lib.prefer_external_url
    library setting is set to true.
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/opac/parts/library_name_link.tt2 b/Open-ILS/src/templates/opac/parts/library_name_link.tt2
index 0d00644..1ad030c 100644
--- a/Open-ILS/src/templates/opac/parts/library_name_link.tt2
+++ b/Open-ILS/src/templates/opac/parts/library_name_link.tt2
@@ -11,7 +11,7 @@
     UNLESS lib_url && prefer_external_url;
         lib_url = mkurl(opac_root _ '/library/' _ ctx.get_aou(copy_info.circ_lib).shortname, {}, 1);
     END; 
-    IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | url; '">'; END;
+    IF lib_url; '<a property="offeredBy" typeof="Library" href="'; lib_url | html; '">'; END;
     '<span property="name">'; org_name | html; '</span>';
     IF lib_url; '</a>'; END;
 -%]

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/opac/parts/library_name_link.tt2 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list