From 4c7951146372e7e9e0a1db19cf5ac31ee1809d5a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 5 Mar 2013 12:46:45 -0500 Subject: [PATCH] Bug 9458 - Add sorting to lists - QA Followup 3 --- C4/VirtualShelves/Page.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/VirtualShelves/Page.pm b/C4/VirtualShelves/Page.pm index 3dfbe60..f393cb1 100644 --- a/C4/VirtualShelves/Page.pm +++ b/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, -- 1.7.2.5