Improved fix for wrong owner_id condition workaround.
This commit is contained in:
parent
42bbb74bce
commit
031ed7cc1e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class TicketOverviewsController < ApplicationController
|
|||
|
||||
# for cleanup reasons, remove me later!
|
||||
overview.condition.each { |item, value |
|
||||
if item == 'owner_id'
|
||||
if item == 'owner_id' && overview.condition[item] != 1
|
||||
overview.condition[item] = 'current_user.id'
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue