unifiedStorage: sort by namespace/name ASC (#91314)
* unified: sort by key asc * sort by key * keep tests commented
This commit is contained in:
@@ -8,6 +8,6 @@ INNER JOIN (
|
||||
) AS maxkv
|
||||
ON maxkv."resource_version" = kv."resource_version" AND maxkv."namespace" = kv."namespace" AND maxkv."group" = kv."group" AND maxkv."resource" = kv."resource" AND maxkv."name" = kv."name"
|
||||
WHERE kv."action" != 3 AND kv."namespace" = ?
|
||||
ORDER BY kv."resource_version" DESC
|
||||
ORDER BY kv."namespace" ASC, kv."name" ASC
|
||||
LIMIT ? OFFSET ?
|
||||
;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
SELECT "resource_version", "namespace", "name", "value"
|
||||
FROM "resource"
|
||||
WHERE 1 = 1 AND "namespace" = ?
|
||||
ORDER BY "resource_version" DESC
|
||||
ORDER BY "namespace" ASC, "name" ASC
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user