summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-04-04 17:47:50 +0000
committerivan <ivan>2008-04-04 17:47:50 +0000
commit35e9ce1adad55c4e7b696a52107ae31773d77498 (patch)
treee4bc5d7a30a296afcc76978a61001962bd6224ca /httemplate
parent46bc9276e3ffc6d7d4ee216457077562f0c57afe (diff)
this worked fine. don't understand why it was changed in the first place.
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/elements/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html
index 7beb4c255..4b8fc441e 100644
--- a/httemplate/search/elements/search.html
+++ b/httemplate/search/elements/search.html
@@ -354,7 +354,7 @@ Example:
% $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>