This commit is contained in:
mdashlw 2025-03-27 04:05:19 +02:00 committed by GitHub
commit 9452d1a383
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ defmodule PhilomenaWeb.IpProfileController do
user_ips =
UserIp
|> where(ip: ^ip)
|> where(fragment("? >>= ip", ^ip))
|> order_by(desc: :updated_at)
|> preload(:user)
|> Repo.all()