Skip to content

Commit 89f6fee

Browse files
committed
sort by attribute
1 parent 710d389 commit 89f6fee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Database/Database.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9266,6 +9266,8 @@ public function getCacheKeys(string $collectionId, ?string $documentId = null, a
92669266
$collectionId
92679267
);
92689268

9269+
$selects = Query::getSelectQueries($selects); // Detach
9270+
92699271
usort($selects, function ($a, $b) {
92709272
return strcmp($a->getAttribute(), $b->getAttribute());
92719273
});

0 commit comments

Comments
 (0)