|
|
@ -204,7 +204,7 @@ function placeHold () { |
|
|
|
<span class="clearall"></span></p> |
|
|
|
[% END %] |
|
|
|
|
|
|
|
[% IF direction == 'asc' %][% direction = 'desc' %][% ELSE %][% direction = 'asc' %][% END %] |
|
|
|
[% IF direction == 'asc' %][% SET new_direction = 'desc' %][% ELSE %][% SET new_direction = 'asc' %][% END %] |
|
|
|
<div class="pages">[% pagination_bar %]</div> |
|
|
|
<table> |
|
|
|
<tr> |
|
|
@ -212,34 +212,40 @@ function placeHold () { |
|
|
|
|
|
|
|
[% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %] |
|
|
|
<th> |
|
|
|
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% direction %]">Title</a> |
|
|
|
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% new_direction %]">Title</a> |
|
|
|
[% IF sort == 'title' %] |
|
|
|
[% IF direction == 'asc' %] |
|
|
|
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
|
|
|
[% ELSIF direction == 'desc' %] |
|
|
|
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
|
|
|
[% END %] |
|
|
|
[% ELSE %] |
|
|
|
<img src="/intranet-tmpl/prog/img/ascdesc.gif" /> |
|
|
|
[% END %] |
|
|
|
</th> |
|
|
|
<th> |
|
|
|
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% direction %]">Author</a> |
|
|
|
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% new_direction %]">Author</a> |
|
|
|
[% IF sort == 'author' %] |
|
|
|
[% IF direction == 'asc' %] |
|
|
|
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
|
|
|
[% ELSIF direction == 'desc' %] |
|
|
|
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
|
|
|
[% END %] |
|
|
|
[% ELSE %] |
|
|
|
<img src="/intranet-tmpl/prog/img/ascdesc.gif" /> |
|
|
|
[% END %] |
|
|
|
</th> |
|
|
|
<th>Date added</th> |
|
|
|
<th> |
|
|
|
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% direction %]">Call number</a> |
|
|
|
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% new_direction %]">Call number</a> |
|
|
|
[% IF sort == 'itemcallnumber' %] |
|
|
|
[% IF direction == 'asc' %] |
|
|
|
<img src="/intranet-tmpl/prog/img/asc.gif" /> |
|
|
|
[% ELSIF direction == 'desc' %] |
|
|
|
<img src="/intranet-tmpl/prog/img/desc.gif" /> |
|
|
|
[% END %] |
|
|
|
[% ELSE %] |
|
|
|
<img src="/intranet-tmpl/prog/img/ascdesc.gif" /> |
|
|
|
[% END %] |
|
|
|
</th> |
|
|
|
<th> </th> |
|
|
|