Verified Commit 01a7c8fc authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

fix scope for responsibles filter generation

parent 827924ce
Pipeline #22788 passed with stage
in 46 minutes and 51 seconds
......@@ -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|
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment