From 24a895bdc431e91b3472e9c850d19db987c75133 Mon Sep 17 00:00:00 2001 From: kados Date: Sun, 18 Mar 2007 03:50:15 +0000 Subject: [PATCH] Fix for bug 1308: sort by order is lost when browsing results on more than one page --- C4/Koha.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Koha.pm b/C4/Koha.pm index f2256ae654..aa9761ca40 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -760,6 +760,8 @@ SELECT lib, sub displaySortby { my ($sort_by) = @_; + $sort_by =~ s//\>/; my $sort_by_loop = [ { value => "1=9523 >i", label => "Popularity (Most to Least)" }, { value => "1=9523 <i", label => "Popularity (Least to Most)" }, -- 2.39.5