diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index 746441cc59..06d7395387 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -204,7 +204,13 @@ function placeHold () {

[% END %] - [% IF direction == 'asc' %][% SET new_direction = 'desc' %][% ELSE %][% SET new_direction = 'asc' %][% END %] + [% IF direction == 'asc' %] + [% SET new_direction = 'desc' %] + [% ELSE %] + [% SET direction = 'desc' %] + [% SET new_direction = 'asc' %] + [% END %] +
[% pagination_bar %]
@@ -212,28 +218,20 @@ function placeHold () { [% UNLESS ( item_level_itypes ) %][% END %]
Item type - Title + Title [% IF sort == 'title' %] - [% IF direction == 'asc' %] - - [% ELSIF direction == 'desc' %] - - [% END %] + [% ELSE %] [% END %] - Author + Author [% IF sort == 'author' %] - [% IF direction == 'asc' %] - - [% ELSIF direction == 'desc' %] - - [% END %] - [% ELSE %] - - [% END %] + + [% ELSE %] + + [% END %] Date added