[freeside-commits] freeside/httemplate/search/elements search.html, 1.39, 1.40

Ivan,,, ivan at wavetail.420.am
Fri Apr 4 10:47:53 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail.420.am:/tmp/cvs-serv17503

Modified Files:
	search.html 
Log Message:
this worked fine.  don't understand why it was changed in the first place.

Index: search.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/search.html,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- search.html	4 Apr 2008 17:42:05 -0000	1.39
+++ search.html	4 Apr 2008 17:47:50 -0000	1.40
@@ -354,7 +354,7 @@
 %                 $cgi->delete('maxrecords');
 %                 $cgi->param('_dummy', 1);
 
-                  ( show <SELECT NAME="maxrecords" onChange="this.form.submit();">
+                  ( show <SELECT NAME="maxrecords" onChange="window.location = '<% $cgi->self_url %>;maxrecords=' + this.options[this.selectedIndex].value;">
 
 %                   foreach my $max ( map { $_ * $confmax } qw( 1 5 10 25 ) ) {
                   <OPTION VALUE="<% $max %>" <% ( $maxrecords == $max ) ? 'SELECTED' : '' %>><% $max %></OPTION>



More information about the freeside-commits mailing list