mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +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())
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user