Skip to content

Commit

Permalink
only interested in pluckable properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ulferts committed Sep 21, 2023
1 parent 3e3f2d8 commit 42637f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/models/queries/principals/filters/member_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@

class Queries::Principals::Filters::MemberFilter < Queries::Principals::Filters::PrincipalFilter
def allowed_values
Project.active.all.map do |project|
[project.name, project.id]
end
Project.active.pluck(:name, :id)
end

def type
Expand Down

0 comments on commit 42637f8

Please sign in to comment.