Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
01a7c8fc
Verified
Commit
01a7c8fc
authored
Jul 17, 2018
by
Kaspar Vollenweider
👻
Browse files
fix scope for responsibles filter generation
parent
827924ce
Pipeline
#22788
passed with stage
in 46 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/list_responses_controller.rb
View file @
01a7c8fc
...
...
@@ -20,8 +20,6 @@ class ListResponsesController < ApplicationController
def
set_responsibles
@responsibles
=
Feedback
.
joins
(
responsible:
[
profile:
[
:contact
]])
.
author_volunteer
(
params
[
:q
])
.
where
(
reviewer_id:
nil
)
.
distinct
.
select
(
'users.id, contacts.full_name'
)
.
map
do
|
responsible
|
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment