koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Koha.pm [dev_week]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/C4 Koha.pm [dev_week]
Date: Sun, 18 Mar 2007 03:45:54 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Joshua Ferraro <kados>  07/03/18 03:45:54

Modified files:
        C4             : Koha.pm 

Log message:
        preserve sort_by on page reload

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Koha.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.22.2.4.2.9&r2=1.22.2.4.2.10

Patches:
Index: Koha.pm
===================================================================
RCS file: /sources/koha/koha/C4/Koha.pm,v
retrieving revision 1.22.2.4.2.9
retrieving revision 1.22.2.4.2.10
diff -u -b -r1.22.2.4.2.9 -r1.22.2.4.2.10
--- Koha.pm     1 Jan 2007 02:14:33 -0000       1.22.2.4.2.9
+++ Koha.pm     18 Mar 2007 03:45:54 -0000      1.22.2.4.2.10
@@ -795,6 +795,9 @@
 
 sub displaySortby {
     my ($sort_by) = @_;
+    $sort_by =~ s/</\&lt;/;
+    $sort_by =~ s/>/\&gt;/;
+
     my $sort_by_loop = [
     {value =>"1=9523 &gt;i", label => "Popularity (Most to Least)"},
     {value =>"1=9523 &lt;i", label => "Popularity (Least to Most)"},




reply via email to

[Prev in Thread] Current Thread [Next in Thread]