Fix ip addr search tests.

This commit is contained in:
evazion
2017-01-12 07:43:59 +00:00
parent 26c193dfb3
commit cf046eecbf
2 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ module Moderator
add_row(sums, PostAppeal.where(creator: users).where.not(creator_ip_addr: nil).group(:creator_ip_addr).count)
add_row(sums, PostFlag.where(creator: users).group(:creator_ip_addr).count)
add_row(sums, Upload.where(uploader: users).group(:uploader_ip_addr).count)
add_row(sums, User.where(id: users).group(:last_ip_addr).count)
add_row(sums, User.where(id: users).where.not(last_ip_addr: nil).group(:last_ip_addr).count)
sums
end