kpac; set record detail link in breadcrumbs
authorBill Erickson <berick@esilibrary.com>
Thu, 17 May 2012 13:35:16 +0000 (09:35 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 30 Jul 2012 19:05:01 +0000 (15:05 -0400)
On the getit page, the record title link in the breadcrumb now returns
to the main record page.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Open-ILS/src/templates/kpac/parts/breadcrumb.tt2

index ff6198a..43d911c 100644 (file)
@@ -33,7 +33,7 @@
                 # I know there's a way to do this all w/ substr, 
                 # but it's trying my patience.  this works.
             %]
-            <a href="javascript:;">[% title | html %]</a>
+            <a href="[% mkurl(ctx.kpac_root _ '/record/' _ ctx.bre_id) %]">[% title | html %]</a>
 
             <!-- Get it -->
             <div class="bread_green_last">&nbsp;</div>