Fixed issue #245 - No tag in conditions for new Overviews, Triggers, Schedulers and SLAs.
This commit is contained in:
parent
284d9e34b4
commit
a15f7abc00
1 changed files with 1 additions and 1 deletions
|
@ -643,9 +643,9 @@ condition example
|
||||||
tag_items.id = tags.tag_item_id AND
|
tag_items.id = tags.tag_item_id AND
|
||||||
tag_items.name IN (?)
|
tag_items.name IN (?)
|
||||||
) BETWEEN ? AND ?"
|
) BETWEEN ? AND ?"
|
||||||
|
bind_params.push selector['value']
|
||||||
bind_params.push selector['value'].count - 1
|
bind_params.push selector['value'].count - 1
|
||||||
bind_params.push selector['value'].count
|
bind_params.push selector['value'].count
|
||||||
bind_params.push selector['value']
|
|
||||||
elsif selector['operator'] == 'before (absolute)'
|
elsif selector['operator'] == 'before (absolute)'
|
||||||
query += "#{attribute} <= ?"
|
query += "#{attribute} <= ?"
|
||||||
bind_params.push selector['value']
|
bind_params.push selector['value']
|
||||||
|
|
Loading…
Reference in a new issue