From 4b419f8ce54928d4766506ff3745fb190e7a02d7 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 24 Sep 2018 11:38:07 -0400 Subject: [PATCH] CAT-188 Search result table link repairs Use the "href" on the source element for the search resutls new_tab() call. In the browser client, no special handling is required. Signed-off-by: Bill Erickson --- KCLS/openils/var/templates_kcls/opac/parts/result/table.tt2 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/KCLS/openils/var/templates_kcls/opac/parts/result/table.tt2 b/KCLS/openils/var/templates_kcls/opac/parts/result/table.tt2 index 044f6cb242..bf81683553 100644 --- a/KCLS/openils/var/templates_kcls/opac/parts/result/table.tt2 +++ b/KCLS/openils/var/templates_kcls/opac/parts/result/table.tt2 @@ -17,13 +17,9 @@ var tabName = element.getAttribute( 'tabname' ); [% IF ctx.is_staff %] [% IF ctx.is_browser_staff %] - var href = "oils://remote" + element.getAttribute( 'href' ); - var content_params = { - 'override_tab_lock' : true, - 'no_xulG' : true - }; + return true; // Use the as-is [% ELSE %] - var url = "oils://remote" + element.getAttribute('url'); + var url = "oils://remote" + element.getAttribute('href'); var content_params = { 'override_tab_lock': true, 'no_xulG': false, -- 2.11.0