From a15f7abc0058278218919d342c92bc338bd03abd Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Wed, 12 Apr 2017 16:28:12 +0200 Subject: [PATCH] Fixed issue #245 - No tag in conditions for new Overviews, Triggers, Schedulers and SLAs. --- app/models/ticket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ticket.rb b/app/models/ticket.rb index a56574cf4..c8065361f 100644 --- a/app/models/ticket.rb +++ b/app/models/ticket.rb @@ -643,9 +643,9 @@ condition example tag_items.id = tags.tag_item_id AND tag_items.name IN (?) ) BETWEEN ? AND ?" + bind_params.push selector['value'] bind_params.push selector['value'].count - 1 bind_params.push selector['value'].count - bind_params.push selector['value'] elsif selector['operator'] == 'before (absolute)' query += "#{attribute} <= ?" bind_params.push selector['value']