More work!
[egate.git] / www / msearch.egw
index 5544a3c..4e501bd 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: msearch.egw,v 1.21 1996/03/14 11:50:45 adam Exp $
+# $Id: msearch.egw,v 1.22 1996/05/15 18:43:37 adam Exp $
 
     if {[info commands saveState] == ""} {
         source z39util.tcl
         incr nextSetNo
 
         for {set i 1} {$i <= $hist($setNo,0,host)} {incr i} {
-            set hist($setNo,$i,query) [build-query $hist($setNo,$i,host) 3]
+            set hist($setNo,$i,query) [build-query $hist($setNo,$i,host) 6]
         }
 
         set hist($setNo,scan) 0
 
-        set hist($setNo,form,menu1) [egw_form menu1]
-        set hist($setNo,form,menu2) [egw_form menu2]
-        set hist($setNo,form,menu3) [egw_form menu3]
-
-        set hist($setNo,form,entry1) [egw_form entry1]
-        set hist($setNo,form,entry2) [egw_form entry2]
-        set hist($setNo,form,entry3) [egw_form entry3]
-
-        set hist($setNo,form,logic1) [egw_form logic1]
-        set hist($setNo,form,logic2) [egw_form logic2]
-        set hist($setNo,form,logic3) {}
-        
+        for {set i 1} {$i < 6} {incr i} {
+            set hist($setNo,form,menu$i) [egw_form menu$i]
+            set hist($setNo,form,entry$i) [egw_form entry$i]
+            set hist($setNo,form,logic$i) [egw_form logic$i]
+        }
         set hist($setNo,maxPresent) [egw_form hits]
         if {$hist($setNo,maxPresent) == ""} {
             set hist($setNo,maxPresent) 20