projects
/
koha_fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7da07
)
Fix for bug 1308: sort by order is lost when browsing results on more than one page
author
kados
<kados>
Sun, 18 Mar 2007 03:50:15 +0000
(
03:50
+0000)
committer
kados
<kados>
Sun, 18 Mar 2007 03:50:15 +0000
(
03:50
+0000)
C4/Koha.pm
patch
|
blob
|
history
diff --git
a/C4/Koha.pm
b/C4/Koha.pm
index
f2256ae
..
aa9761c
100644
(file)
--- a/
C4/Koha.pm
+++ b/
C4/Koha.pm
@@
-760,6
+760,8
@@
SELECT lib,
sub displaySortby {
my ($sort_by) = @_;
+ $sort_by =~ s/</\</;
+ $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)" },