Bug 16876: Remove Full Heading column from OPAC Auth search results
authorAleisha <aleishaamohia@hotmail.com>
Thu, 7 Jul 2016 23:40:29 +0000 (23:40 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jul 2016 18:10:34 +0000 (18:10 +0000)
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt

index b5f37f5..605c35a 100644 (file)
                                 <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&amp;op=do_search&amp;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>