mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
fix: postgres user list issue
This commit is contained in:
@@ -340,7 +340,6 @@ class UsersTable:
|
||||
query = query.order_by(User.created_at.desc())
|
||||
|
||||
# Count BEFORE pagination
|
||||
query = query.distinct(User.id)
|
||||
total = query.count()
|
||||
|
||||
# correct pagination logic
|
||||
|
||||
Reference in New Issue
Block a user