projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix: didn't use correct database(s) when 'all' checkbox was selected.
[egate.git]
/
www
/
search.egw
diff --git
a/www/search.egw
b/www/search.egw
index
dd7162d
..
a249f6c
100644
(file)
--- a/
www/search.egw
+++ b/
www/search.egw
@@
-1,6
+1,6
@@
<html>
{
<html>
{
-# $Id: search.egw,v 1.16 1995/11/13 18:17:48 adam Exp $
+# $Id: search.egw,v 1.17 1995/11/14 16:01:51 adam Exp $
proc buttons {setNo setMax startPos after} {
global sessionId
proc buttons {setNo setMax startPos after} {
global sessionId
@@
-87,8
+87,14
@@
proc buttons {setNo setMax startPos after} {
set hist($setNo,form,logic2) [wform logic2]
incr nextSetNo
set hist($setNo,form,logic2) [wform logic2]
incr nextSetNo
+
+ set host $hist($setNo,host)
+ set databases [lindex $targets($host) 1]
+
set b [wform base]
set b [wform base]
- if {$b == ""} {
+ if {[wform baseall] != ""} {
+ set hist($setNo,database) $databases
+ } elseif {$b == ""} {
set hist($setNo,database) $databases
} else {
set hist($setNo,database) $b
set hist($setNo,database) $databases
} else {
set hist($setNo,database) $b