From ae10bcf15845d1397a51152ff185b1c8ca77b259 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 5 Jun 2010 05:54:08 +0000 Subject: fix urls --- httemplate/search/elements/search-html.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'httemplate/search/elements/search-html.html') diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html index 96591dfd7..75b0e9aee 100644 --- a/httemplate/search/elements/search-html.html +++ b/httemplate/search/elements/search-html.html @@ -103,7 +103,7 @@ % $cgi->delete('maxrecords'); % $cgi->param('_dummy', 1); - ( show query_string %>;maxrecords=' + this.options[this.selectedIndex].value;"> % foreach my $max ( map { $_ * $confmax } qw( 1 5 10 25 ) ) { @@ -144,18 +144,18 @@ Download full results
% $cgi->param('_type', "$xlsname.xls" ); - as Excel spreadsheet
+ as query_string %>">Excel spreadsheet
% $cgi->param('_type', 'csv'); - as CSV file
+ as query_string %>">CSV file
% if ( defined($opt{xml_elements}) ) { % $cgi->param('_type', 'xml'); - as XML file
+ as query_string %>">XML file
% } % $cgi->param('_type', 'html-print'); - as printable copy + as query_string %>">printable copy % $cgi->param('_type', "html" ); @@ -464,7 +464,7 @@ my $confmax = $args{'confmax'}; my $maxrecords = $args{'maxrecords'}; my $offset = $args{'offset'}; my %opt = %{ $args{'opt'} }; -my $self_url = $opt{'url'} || $cgi->self_url; +my $self_url = $opt{'url'} || $cgi->url('-path_info' => 1, '-full' =>1); my $count_sth = dbh->prepare($opt{'count_query'}) or die "Error preparing $opt{'count_query'}: ". dbh->errstr; -- cgit v1.2.1