projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Uses string compare instead of !=/== when possible.
[egate.git]
/
www
/
search.egw
diff --git
a/www/search.egw
b/www/search.egw
index
eed24c0
..
eabe4b9
100644
(file)
--- a/
www/search.egw
+++ b/
www/search.egw
@@
-1,6
+1,6
@@
<html>
{
<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
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]
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"
}
} else {
html "<h3> No hits</h3>\n"
}