Browse Source

Bug 9458 - Add sorting to lists - QA Followup 3

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
3.12.x
Kyle Hall 11 years ago
committed by Jared Camins-Esakov
parent
commit
1ac83c0594
  1. 2
      C4/VirtualShelves/Page.pm

2
C4/VirtualShelves/Page.pm

@ -249,7 +249,7 @@ sub shelfpage {
my $items;
my $tag_quantity;
my $sortfield = ( $sorton ? $sorton : 'title' );
$sortfield = $query->param('sort') || $sortfield || 'title'; ## Passed in sorting overrides default sorting
$sortfield = $query->param('sort') || $sortfield; ## Passed in sorting overrides default sorting
my $direction = $query->param('direction') || 'asc';
$template->param(
sort => $sortfield,

Loading…
Cancel
Save