Skip to content

Commit

Permalink
add filter to remove spammed accountfrom tag contributors listing (pu…
Browse files Browse the repository at this point in the history
  • Loading branch information
nadimakhtar97 authored and alvesitalo committed Oct 14, 2020
1 parent 44363bb commit 5955b3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def self.contributors(tagname)
end
uids = uids.uniq
User.where(id: uids)
.where(status: [1, 4])
end

def self.contributor_count(tagname)
Expand Down

0 comments on commit 5955b3a

Please sign in to comment.