From f4f06b05003e90385ec4de6a2bca0ce08b7542b3 Mon Sep 17 00:00:00 2001 From: Artem Chepurnoy Date: Sat, 20 Jan 2024 12:39:12 +0200 Subject: [PATCH] fix: Only the first Wordlist has number of words displayed in a counter --- .../sqldelight/com/artemchep/keyguard/data/GeneratorWordlist.sq | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/commonMain/sqldelight/com/artemchep/keyguard/data/GeneratorWordlist.sq b/common/src/commonMain/sqldelight/com/artemchep/keyguard/data/GeneratorWordlist.sq index 57e4b795..229986de 100644 --- a/common/src/commonMain/sqldelight/com/artemchep/keyguard/data/GeneratorWordlist.sq +++ b/common/src/commonMain/sqldelight/com/artemchep/keyguard/data/GeneratorWordlist.sq @@ -33,6 +33,7 @@ FROM COUNT(wordlistId) AS wordCount FROM generatorWordlistWord + GROUP BY wordlistId ) AS w ON generatorWordlist.id = w.wordlistId ORDER BY generatorWordlist.createdAt DESC;