Bug 13685: Sorting by author in opac reading history
opac-readingrecord.pl was actually already set up to do this, the option to sort by author was just not put into the tt file. This patch adds that. To test: 1) Log into OPAC, go to your reading history 2) Confirm that 'Order by author' shows in the dropdown 3) Confirm it 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:
parent
93a3b1fe8d
commit
3d3ab8bd2f
|
|
@ -38,6 +38,7 @@
|
|||
<select name="order" id="order">
|
||||
[% IF ( orderbydate ) %]<option value="" selected="selected">Order by date</option>[% ELSE %]<option value="">Order by date</option>[% END %]
|
||||
[% IF ( orderbytitle ) %]<option value="title" selected="selected">Order by title</option>[% ELSE %]<option value="title">Order by title</option>[% END %]
|
||||
[% IF ( orderbyauthor ) %]<option value="author" selected="selected">Order by author</option>[% ELSE %]<option value="author">Order by author</option>[% END %]
|
||||
</select>
|
||||
<input type="submit" value="Go" id="sortsubmit" class="submit clearfix" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue