Added new targets.
[egate.git] / www / search.egw
index eed24c0..eabe4b9 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 {
-# $Id: search.egw,v 1.31 1996/01/26 15:50:08 adam Exp $
+# $Id: search.egw,v 1.32 1996/02/12 13:39:40 adam Exp $
 
 proc start-scan {scanNo cache dir initSet} {
     global sessionId
@@ -343,8 +343,8 @@ proc buttons {setNo setMax startPos after} {
         buttons $setNo $setMax $startPos 0
 
         set setOffset [z39.$setNo numberOfRecordsReturned]
-        if {$setOffset > 0} {
-            html {<h3> Records 1-} $setOffset " out of $r</h3>\n"
+        if {$setMax > 0} {
+            html {<h3> Records 1-} $setMax " out of $r</h3>\n"
         } else {
             html "<h3> No hits</h3>\n"
         }