fix: return provisioners in desc order and add limit to cli (#16720)

This commit is contained in:
Mathias Fredriksson
2025-02-26 21:06:51 +02:00
committed by GitHub
parent 7c035a4d98
commit 7cd6e9cdd6
8 changed files with 36 additions and 6 deletions
+1 -1
View File
@@ -5845,7 +5845,7 @@ WHERE
AND (COALESCE(array_length($3::uuid[], 1), 0) = 0 OR pd.id = ANY($3::uuid[]))
AND ($4::tagset = 'null'::tagset OR provisioner_tagset_contains(pd.tags::tagset, $4::tagset))
ORDER BY
pd.created_at ASC
pd.created_at DESC
LIMIT
$5::int
`