From: Bill Erickson Date: Mon, 12 Sep 2011 16:07:43 +0000 (-0400) Subject: TPac: repaired undefiend 'loc' var in author 'extras' link X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=09b52f79bf3e693e2a2be78b47a2a9c54c286552;p=contrib%2FConifer.git TPac: repaired undefiend 'loc' var in author 'extras' link Ported the bare href to mkurl() while I was in there Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/opac/parts/record/authors.tt2 b/Open-ILS/src/templates/opac/parts/record/authors.tt2 index 3a03c3ebe1..0fabf46ec8 100644 --- a/Open-ILS/src/templates/opac/parts/record/authors.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/authors.tt2 @@ -31,7 +31,8 @@ BLOCK build_author_links; code = subfield.getAttribute('code'); NEXT UNLESS code.match('[a-z]'); term = subfield.textContent | html; - '
' _ term _ ''; + url = mkurl(ctx.opac_root _ '/results', {query => subfield.textContent, qtype => 'author'}, ['page', 'expand']); + '
' _ term _ ''; END; END; END;