summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/query.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index 5daf36e84..93c36887a 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -567,6 +567,7 @@ class Query < ActiveRecord::Base
author_values = []
author_values << ["<< #{l(:label_me)} >>", "me"] if User.current.logged?
author_values += users.sort_by(&:status).collect{|s| [s.name, s.id.to_s, l("status_#{User::LABEL_BY_STATUS[s.status]}")] }
+ author_values << [l(:label_user_anonymous), User.anonymous.id.to_s]
author_values
end