From ddc44f723c5bb4036aa84701b9600e235e5401f2 Mon Sep 17 00:00:00 2001 From: Aleisha <aleishaamohia@hotmail.com> Date: Thu, 7 Jul 2016 23:40:29 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 16876: Remove Full Heading column from OPAC Auth search results Content-Type: text/plain; charset="utf-8" To test: 1) Go to Authority Search and do a search 2) Notice that there is a Full Heading column that has 'View full heading' links. These take up a lot of space and don't mean a lot to the user 3) Apply patch and refresh 4) Notice that the the Full Heading column is gone and there is now a Details column next to the authorities. Confirm the link takes you to the expected authority detail page. Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard <oleonard@myacpl.org> --- .../bootstrap/en/modules/opac-authoritiessearchresultlist.tt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt index 4ebaac6..c175da4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt @@ -75,27 +75,24 @@ <table class="table table-bordered table-striped"> <thead> <tr> - <th>Authorized headings</th> + <th colspan="2">Authorized headings</th> <th>Type of heading</th> [% UNLESS ( isEDITORS ) %] <th>Biblio records</th> [% END %] - <th>Full heading</th> </tr> </thead> <tbody> [% FOREACH resul IN result %] <tr> <td>[% PROCESS authresult summary=resul.summary %]</td> + <td><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% resul.authid %]">Details</a> <td>[% resul.authtype %]</td> [% UNLESS ( resul.isEDITORS ) %] <td> <a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=[% resul.authid %]">[% resul.used %] biblios</a> </td> [% END %] - <td> - <a href="opac-authoritiesdetail.pl?authid=[% resul.authid %]">View full heading</a> - </td> </tr> [% END %] </tbody> -- 2.1.4