removes uniq deprecation warning
This commit is contained in:
@@ -74,7 +74,7 @@ module ActsAsTaggableOn
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.spending_proposal_tags
|
def self.spending_proposal_tags
|
||||||
ActsAsTaggableOn::Tag.where("taggings.taggable_type" => "SpendingProposal").includes(:taggings).order(:name).uniq
|
ActsAsTaggableOn::Tag.where("taggings.taggable_type" => "SpendingProposal").includes(:taggings).order(:name).distinct
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.graphql_field_name
|
def self.graphql_field_name
|
||||||
|
|||||||
Reference in New Issue
Block a user