X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fsearch-html.html;h=98f9c4476c9b46982d7de2cd0921a026d427e27b;hb=f48936de00e81e89ea0f84b28e9c7b213fe898a8;hp=d8cc2fcabf0fac1de6a082d0644956b329e2da19;hpb=5cd82978f42b9f5e59b1f609be613b148600add2;p=freeside.git diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html index d8cc2fcab..98f9c4476 100644 --- a/httemplate/search/elements/search-html.html +++ b/httemplate/search/elements/search-html.html @@ -102,7 +102,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 ) ) { @@ -143,18 +143,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;