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

fix scope for responsibles filter generation

parent c5f9add6
Pipeline #22786 passed with stage
in 48 minutes and 17 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