summaryrefslogtreecommitdiffstats
path: root/app/controllers/feeds_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/feeds_controller.rb')
-rw-r--r--app/controllers/feeds_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/feeds_controller.rb b/app/controllers/feeds_controller.rb
index 9314db5e3..214f80c95 100644
--- a/app/controllers/feeds_controller.rb
+++ b/app/controllers/feeds_controller.rb
@@ -37,6 +37,7 @@ class FeedsController < ApplicationController
def issues
if @project && params[:query_id]
query = Query.find(params[:query_id])
+ query.executed_by = @user
# ignore query if it's not valid
query = nil unless query.valid?
# override with query conditions
@@ -56,6 +57,7 @@ class FeedsController < ApplicationController
def history
if @project && params[:query_id]
query = Query.find(params[:query_id])
+ query.executed_by = @user
# ignore query if it's not valid
query = nil unless query.valid?
# override with query conditions