[open-ils-commits] [GIT] Evergreen ILS branch master updated. a989b3b70295fad8fdeeacf5f181d10b2ed24f87

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, master has been updated
       via  a989b3b70295fad8fdeeacf5f181d10b2ed24f87 (commit)
      from  c8447472bfaba306772d7d08042ba8efd943b152 (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 a989b3b70295fad8fdeeacf5f181d10b2ed24f87
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