From b6b6d11ef71d10d27ec3ff68c04bc5203740dcb2 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 25 Jul 2021 10:58:50 +0200 Subject: [PATCH] keep sorting for content hash computation backwards compatible --- src/services/content_hash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/content_hash.js b/src/services/content_hash.js index 51310ab18..4b9f4f67f 100644 --- a/src/services/content_hash.js +++ b/src/services/content_hash.js @@ -37,7 +37,7 @@ function getEntityHashes() { // sorting is faster in memory // sorting by entityId is enough, hashes will be segmented by entityName later on anyway - hashRows.sort((a, b) => a[0] < b[0] ? -1 : 1); + hashRows.sort((a, b) => a[1] < b[1] ? -1 : 1); const hashMap = {};