mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
fix: postgres user list issue
This commit is contained in:
parent
97ba5b8436
commit
35ab6b7667
1 changed files with 0 additions and 1 deletions
|
|
@ -340,7 +340,6 @@ class UsersTable:
|
||||||
query = query.order_by(User.created_at.desc())
|
query = query.order_by(User.created_at.desc())
|
||||||
|
|
||||||
# Count BEFORE pagination
|
# Count BEFORE pagination
|
||||||
query = query.distinct(User.id)
|
|
||||||
total = query.count()
|
total = query.count()
|
||||||
|
|
||||||
# correct pagination logic
|
# correct pagination logic
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue