<html>
{
-# $Id: search.egw,v 1.8 1995/11/06 17:44:21 adam Exp $
+# $Id: search.egw,v 1.9 1995/11/07 14:56:59 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
html "using host " $hist($setNo,host) " <br\n"
incr nextSetNo
- set hist($setNo,query) [build-query]
+ set hist($setNo,query) [build-query $hist($setNo,host)]
set b [wform base]
if {$b == ""} {
set hist($setNo,database) $databases
html "<h2> Search result $r hits</h2>\n"
wflush
set setOffset [z39.$setNo numberOfRecordsReturned]
- display-rec 1 $setOffset display-brief
+ display-rec 1 $setOffset display-brief z39
incr setOffset
set setMax [z39.$setNo resultCount]
if {$setMax > $hist($setNo,maxPresent)} {