X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=13143c6f452c95d4277663c0f6785db0994eeb58;hp=156a7f216679d192b8c7b30c598987fe7cdde8cd;hb=0b57258ec2d28940302af3bd7c721311810b2302;hpb=ba428e5d185c75364fab4a12603be9f27e3bd097 diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index 156a7f2..13143c6 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,4 @@ -%# $Id: found.mc,v 1.31 2007-07-04 20:54:11 mike Exp $ +%# $Id: found.mc,v 1.33 2009-04-15 18:16:46 wosch Exp $ <%once> sub print_navlink { my($params, $cond, $caption, $skip) = @_; @@ -39,7 +39,7 @@ sub calc_reliability2 { our $conn = undef; <%perl> -my %params = map { ( $_, utf8param($r, $_)) } grep { $r->param($_) } $r->param(); +my %params = map { ( $_, utf8param($r, $_)) } grep { &utf8param($r, $_) } &utf8param($r); my $query; if ($params{_query}) { $query = $params{_query}; @@ -72,6 +72,7 @@ if (!defined $conn) { OPEN: $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1"); $conn->option(elementSetName => "zeerex"); + $conn->option(count => 20); } my $rs; @@ -116,7 +117,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count); # Title - Reliability <& /help/link.mc, help => "info/reliability" &> + Host Connection Reliability <& /help/link.mc, help => "info/reliability" &> Host Port @@ -125,6 +126,7 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count); % my @ids; +% $rs->records($first-1, $last-$first+1); ## Force pre-cache % foreach my $i ($first .. $last) { <%perl> my $xc = irspy_xpath_context($rs->record($i-1));