diff options
author | Michael Kozono <mkozono@gmail.com> | 2019-02-25 12:42:34 -0800 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2019-02-25 12:42:34 -0800 |
commit | e95b88a06d673ff95792d5c7d3934c88051691d9 (patch) | |
tree | c61f4999efb0100b9df7d2c9ece7002903235ac5 /app/finders | |
parent | 0b0a04fdf7ba31975407daa978f6f8f7c2f8bb3e (diff) | |
download | gitlab-ce-e95b88a06d673ff95792d5c7d3934c88051691d9.tar.gz |
Revert "Merge branch 'filter-confidential-issues' into 'master'"
This reverts commit d133bf84c668df3dfc9938bb04150754cb873c8b, reversing
changes made to 7981c0292b07a0138b096fa082341fcb13e9ce2b.
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/issues_finder.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/app/finders/issues_finder.rb b/app/finders/issues_finder.rb index cb44575d6f1..a0504ca0879 100644 --- a/app/finders/issues_finder.rb +++ b/app/finders/issues_finder.rb @@ -69,16 +69,7 @@ class IssuesFinder < IssuableFinder end def filter_items(items) - issues = super - issues = by_due_date(issues) - issues = by_confidential(issues) - issues - end - - def by_confidential(items) - return items if params[:confidential].nil? - - params[:confidential] ? items.confidential_only : items.public_only + by_due_date(super) end def by_due_date(items) |