From 1ac83c05949582846171089f77eff220d61915d2 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 Signed-off-by: Jared Camins-Esakov --- C4/VirtualShelves/Page.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/VirtualShelves/Page.pm b/C4/VirtualShelves/Page.pm index 3dfbe60694..f393cb1526 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, -- 2.39.5