X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffound.mc;h=dc7caeebff04aec40e3edea7cc5d6b18d90e58d8;hp=040318e820633787812e26d7a0e79e0bde6d6a19;hb=c1c34528dbc95608f3dd6f6e32ab7dc97e53699e;hpb=0ce213161741b7726ac32bd6c76bbef7f1dc6ab7 diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index 040318e..dc7caee 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -1,4 +1,4 @@ -%# $Id: found.mc,v 1.28 2007-04-26 13:57:17 mike Exp $ +%# $Id: found.mc,v 1.30 2007-05-03 14:15:56 mike Exp $ <%once> sub print_navlink { my($params, $cond, $caption, $skip) = @_; @@ -38,7 +38,7 @@ sub calc_reliability { our $conn = undef; <%perl> -my %params = map { ( $_, $r->param($_)) } grep { $r->param($_) } $r->param(); +my %params = map { ( $_, utf8param($r, $_)) } grep { $r->param($_) } $r->param(); my $query; if ($params{_query}) { $query = $params{_query}; @@ -132,9 +132,7 @@ my $reliability = calc_reliability($xc); my $host = $xc->find("e:serverInfo/e:host"); my $port = $xc->find("e:serverInfo/e:port"); my $db = $xc->find("e:serverInfo/e:database"); -my $id = $xc->find("concat(e:serverInfo/e:host, ':', - e:serverInfo/e:port, '/', - e:serverInfo/e:database)"); +my $id = irspy_record2identifier($xc); push @ids, $id;