Skip to content

Commit b18fa05

Browse files
committed
Sorted selects
1 parent 2b002dc commit b18fa05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Database/Database.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9209,7 +9209,8 @@ public function getCacheKeys(string $collectionId, ?string $documentId = null, a
92099209
$hashParts = [];
92109210

92119211
if (!empty($selects)) {
9212-
$hashParts[] = \implode($selects);
9212+
\sort($selects);
9213+
$hashParts[] = \json_encode($selects);
92139214
}
92149215

92159216
$allFilters = \array_merge(

0 commit comments

Comments
 (0)