X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=3e1157056d32b3e1c5505530d5d8fc94b21bb926;hb=e406f6fe976eeae769f193a9d48938d903c02543;hp=e922e297507073e831d16a3d3cc93d438010575f;hpb=c6ea088406ba64e6ed5ea833e1c2ae516552e18e;p=egate.git diff --git a/www/query.egw b/www/query.egw index e922e29..3e11570 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@
{ -# $Id: query.egw,v 1.19 1995/12/20 16:31:31 adam Exp $ +# $Id: query.egw,v 1.36 1996/03/08 16:47:05 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -25,87 +25,98 @@ proc ok-response {} { global hist set host [lindex $sessionParms 0] + set initSet [lindex $sessionParms 1] + set scanLine [lindex $sessionParms 2] + set scanTerm [lrange $sessionParms 3 end] if {[catch {set setNo $nextSetNo}]} { set nextSetNo 1 set setNo 1 } - if {[catch {set oldHost [z39 connect]}]} { + if {[catch {set oldHost [z390 connect]}]} { set oldHost "" } - set hist($setNo,host) $host - set hist($setNo,idAuthentication) [lindex $targets($host) 3] + set hist($setNo,0,host) $host + set hist($setNo,0,idAuthentication) [lindex $targets($host) 3] - if {[catch {z39 failback fail-response}]} { - ir z39 - } - - html {