Move Zebra for port 3313 to 8018 (which is visible on test through its firewall)
[irspy-moved-to-github.git] / web / htdocs / details / found.mc
index 7e1eb0a..3247f23 100644 (file)
@@ -1,4 +1,4 @@
-%# $Id: found.mc,v 1.22 2006-12-05 17:18:30 mike Exp $
+%# $Id: found.mc,v 1.25 2007-01-24 09:28:02 mike Exp $
 <%once>
 sub print_navlink {
     my($params, $cond, $caption, $skip) = @_;
@@ -52,7 +52,7 @@ if ($params{_query}) {
        $query .= "$key = ($val)";
     }
 }
-$query = 'cql.allRecords=x' if $query eq "";
+$query = 'cql.allRecords=1' if $query eq "";
 
 my $sort = $params{"_sort"};
 if ($sort) {
@@ -69,7 +69,7 @@ if ($sort) {
 my $tried_to_open = 0;
 if (!defined $conn) {
   OPEN:
-    $conn = new ZOOM::Connection("localhost:3313/IR-Explain---1");
+    $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1");
     $conn->option(elementSetName => "zeerex");
 }
 
@@ -165,4 +165,8 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count);
        xml_encode(join("&", map { "id=" . uri_escape($_) } @ids))
        %>">[Test all targets on this list]</a>
      </p>
+     <p>
+      <a href="<% "/stats.html?query=" . xml_encode(uri_escape($query))
+       %>">[Statistics for targets on this list]</a>
+     </p>
 % }