mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-04-20 02:03:59 +02:00
Merge 9135b4c143
into 78550a6322
This commit is contained in:
commit
9452d1a383
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue