diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index aa8dc9034..205084074 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -81,7 +81,7 @@ class IssueQuery < Query # user default if user&.logged? && (query_id = user.pref.default_issue_query).present? query = find_by(id: query_id) - return query if query&.visible? + return query if query&.visible?(user) end # project default |