Bug 18108: Sorting by author in opac summary

To test:
1) Log into OPAC, go to your summary
2) Notice 'author' is in Title column, therefore unable to sort by
author
3) Apply patch and refresh page
4) Notice author has now been moved into Author column
5) Confirm sorting by author works as expected and sorting of all other
columns works as expected

Sponsored-by: Catalyst IT

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Aleisha Amohia 2017-02-14 01:21:01 +00:00 committed by Kyle M Hall
parent fd8c2d4e35
commit 93a3b1fe8d

View file

@ -153,6 +153,7 @@ Using this account is not recommended because some parts of Koha will not functi
<tr>
[% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
<th class="anti-the">Title</th>
<th>Author</th>
<th class="title-string psort">Due</th>
[% UNLESS ( item_level_itypes ) %]
<th>Item type</th>
@ -215,7 +216,8 @@ Using this account is not recommended because some parts of Koha will not functi
<td class="title">
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl.subfield %][% END %]</a>
[% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron %][% END %]
<span class="item-details">[% ISSUE.author %]</span>
</td>
<td class="author">[% ISSUE.author %]</td>
</td>
[% IF ( ISSUE.overdue ) %]
<td class="date_due overdue">