mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-11 20:35:39 +02:00
fix sortings in users page
This commit is contained in:
parent
50eb1a36e3
commit
e743f48f4a
1 changed files with 1 additions and 3 deletions
|
@ -110,7 +110,7 @@ WITH AggregatedUsers AS (
|
|||
SELECT *
|
||||
FROM AggregatedUsers
|
||||
WHERE 1 = 1 ${filterStatement}
|
||||
ORDER BY {sortBy:String} ${actualSortOrder}
|
||||
ORDER BY ${actualSortBy} ${actualSortOrder}
|
||||
LIMIT {limit:Int32} OFFSET {offset:Int32}
|
||||
`;
|
||||
|
||||
|
@ -135,8 +135,6 @@ WHERE
|
|||
siteId: Number(site),
|
||||
limit: pageSizeNum,
|
||||
offset,
|
||||
sortBy: actualSortBy,
|
||||
sortOrder: actualSortOrder,
|
||||
},
|
||||
}),
|
||||
clickhouse.query({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue