diff options
author | ivan <ivan> | 2010-05-20 22:48:42 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-05-20 22:48:42 +0000 |
commit | f1cd7f98b487e74aa60b6c41d3377cc60f7ac25a (patch) | |
tree | 9cb67dd062685eaad04db1cb78ac00516c866718 /httemplate/search/elements | |
parent | 85c3933c8b7508ab2aeb0f9e6b96dd1b6432fb9f (diff) |
agent virt inventory, RT#7010
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r-- | httemplate/search/elements/search.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index 0dc417052..636885edc 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -121,6 +121,7 @@ Example: #handling agent virtualization 'agent_virt' => 1, # set true if this search should be # agent-virtualized + 'agent_null' => 1, # set true to view global records always 'agent_null_right' => 'Access Right', # optional right to view global # records 'agent_null_right_link' => 'Access Right' # optional right to link to @@ -235,7 +236,9 @@ if ( $opt{'agent_virt'} ) { || $opt{'agent_null_right'} ); my $agentnums_sql = $curuser->agentnums_sql( - 'null_right' => $opt{'agent_null_right'} + 'null' => $opt{'agent_null'}, + 'null_right' => $opt{'agent_null_right'}, + 'table' => $opt{'query'}{'table'}, ); $opt{'query'}{'extra_sql'} .= |