Logs of changes.
[egate.git] / www / search.egw
index 738906b..425c829 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: search.egw,v 1.34 1996/03/07 12:46:09 adam Exp $
+# $Id: search.egw,v 1.35 1996/03/08 16:47:05 adam Exp $
 
 proc start-scan {scanNo targetNo cache dir initSet} {
     global sessionId
@@ -62,7 +62,7 @@ proc start-scan {scanNo targetNo cache dir initSet} {
     }
     button-new-query 0 $setNo
 
-    set databases [lindex $targets($host) 1]
+    set databases [splitDatabaseSpec $host]
 
     if {$initSet == ""} {
         set databaseDefault [lindex $databases 0]
@@ -209,7 +209,8 @@ proc start-scan {scanNo targetNo cache dir initSet} {
         set hist($setNo,form,logic3) {}
         
         set host $hist($setNo,0,host)
-        set databases [lindex $targets($host) 1]
+
+        set databases [splitDatabaseSpec $host]
 
         set b [egw_form base]
        if {[egw_form baseall] != ""} {