X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fhtdocs%2Fdetails%2Ffull.mc;h=19008a95ce5cdc2bda0fbb23e2271fd0139c3424;hp=4157b1f4d7263b1ae433742f0062146e89a6be3c;hb=f0030d177f58f280c6cd1019f9e26b81f9f8cbda;hpb=6a361962cebc78e762e1259beb16c659a9654be3 diff --git a/web/htdocs/details/full.mc b/web/htdocs/details/full.mc index 4157b1f..19008a9 100644 --- a/web/htdocs/details/full.mc +++ b/web/htdocs/details/full.mc @@ -1,9 +1,9 @@ -%# $Id: full.mc,v 1.30 2007-07-03 13:10:50 mike Exp $ <%args> $id <%perl> -my $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1"); +my $db = ZOOM::IRSpy::connect_to_registry(); +my $conn = new ZOOM::Connection($db); $conn->option(elementSetName => "zeerex"); my $query = cql_target($id); my $rs = $conn->search(new ZOOM::Query::CQL($query)); @@ -97,7 +97,7 @@ if ($n == 0) { sub calc_reliability_wrapper { my($id, $xc) = @_; - return calc_reliability($xc); + return calc_reliability_string($xc); } sub calc_init_options {