mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
feat: prioritize in-group members in sorting (#22211)
This commit is contained in:
parent
ad275351b6
commit
6e43861c0c
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
let query = '';
|
||||
let searchDebounceTimer: ReturnType<typeof setTimeout>;
|
||||
let orderBy = 'created_at'; // default sort key
|
||||
let orderBy = groupId ? `group_id:${groupId}` : 'last_active_at'; // default sort key
|
||||
let direction = 'desc'; // default sort order
|
||||
|
||||
let page = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue