Lots of changes. They aren't visible though.
[egate.git] / www / msearch.egw
index f6defa0..ee8add3 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: msearch.egw,v 1.14 1996/01/29 17:31:47 adam Exp $
+# $Id: msearch.egw,v 1.16 1996/03/07 12:46:08 adam Exp $
 
     if {[info commands saveState] == ""} {
         source z39util.tcl
             set r [z39$i.$setNo resultCount]
             html "$r hits</h3>\n<dd>\n<ul>\n"
 
-            display-rec 1 $hist($setNo,$i,offset) display-brief $i
+            if {$hist($setNo,$i,offset) > $hist($setNo,maxPresent)} {
+                display-rec 1 $hist($setNo,maxPresent) display-brief $setNo $i
+            } else {
+                display-rec 1 $hist($setNo,$i,offset) display-brief $setNo $i
+            }
             html "</ul>"
         }
         html "\n"