<html>
{
-# $Id: msearch.egw,v 1.6 1995/12/21 15:49:51 adam Exp $
+# $Id: msearch.egw,v 1.9 1996/01/04 10:40:00 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) 3]
}
set hist($setNo,maxPresent) [wform hits]
if {$hist($setNo,maxPresent) == ""} {
html "Error</h3>\n<dd>NSD$code: $msg: $addinfo"
} else {
set r [z39$i.$setNo resultCount]
- html "$r hits</h3>\n<dd>\n"
+ html "$r hits</h3>\n<dd><ul>\n"
display-rec 1 $hist($setNo,$i,offset) display-brief $i
+ html "</ul>"
}
html "\n"
}
html {"> New target </a>} " | \n"
}
html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/mquery.egw/} $host + $setNo
+ html / $sessionId {/mquery.egw/} $setNo
if {$useIcons} {
html {"><img src="/gif/button-new-query.gif" border=0></a>}
} else {
}
{
+ if {!$debug} return
html "<hr>\n"
html "<h3>Debug information</h3>\n"
html "sessionId: $sessionId <br>\n"