OPAC Browse: Fix broken authority reference link user/senator/bib-auth-browse-squash
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 24 May 2013 18:07:43 +0000 (14:07 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 24 May 2013 18:07:43 +0000 (14:07 -0400)
Introduced a tiny bug in commit a1b1962 that made authority reference
links not work.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/opac/browse.tt2

index 9171685..35a9d5a 100644 (file)
 
                                             IF h.target %]
                                             <li><span class="browse-result-authority-field-name">[% field.name %]</span>
-                                            <a href="[% mkurl(ctx.opac_root _ '/results', {query => 'identifier|authority_id[' _ target_auth_id _ ']'}) %]">[% h.heading | html %]</a>
+                                            <a href="[% mkurl(ctx.opac_root _ '/results', {query => 'identifier|authority_id[' _ h.target _ ']'}) %]">[% h.heading | html %]</a>
                                             <span class="browse-result-authority-bib-links">([% h.target_count %])</span>
                                             </li>
                                             [% END %]