From: Bill Erickson Date: Mon, 24 Sep 2018 15:38:07 +0000 (-0400) Subject: CAT-188 Search result table link repairs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4b419f8ce54928d4766506ff3745fb190e7a02d7;p=working%2FEvergreen.git 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 --- 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,