Also was missing the author search link
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 22 Jul 2011 14:28:04 +0000 (10:28 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 22 Jul 2011 14:28:04 +0000 (10:28 -0400)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/web/templates/default/opac/parts/record/cnbrowse.tt2

index 42311a1..1ee18c7 100644 (file)
                         <div class='cn_browse_info'>
                             <a name='cn_browse_title' class='classic_link' href="[% ctx.opac_root %]/record/[% ent.cn.record _ extras_propagator %]">[% ent.mods.title %]</a>
                         </div>
-                        <div class='cn_browse_info'>
-                            <a name='cn_browse_author' class='classic_link'>[% ent.mods.author %]</a>
-                        </div>
+                        [% IF ent.mods.author %]<div class='cn_browse_info'>
+                            <a name='cn_browse_author' class='classic_link'
+                                href="[% ctx.opac_root %]/results?qtype=author&amp;query=[%- ent.mods.author | replace('[,\.:;]', '') | uri %]&amp;loc=[% CGI.param('loc') | uri %]">[% ent.mods.author %]</a>
+                        </div>[% END %]
                         <div class='cn_browse_info' name='cn_browse_lib'>[% ctx.get_aou(ent.cn.owning_lib).name %]</div>
                     </td>
                 [% IF loop.index % 3 == 2; tr_open = 0 %]