fix: Only the first Wordlist has number of words displayed in a counter
This commit is contained in:
parent
0896a81785
commit
f4f06b0500
|
@ -33,6 +33,7 @@ FROM
|
||||||
COUNT(wordlistId) AS wordCount
|
COUNT(wordlistId) AS wordCount
|
||||||
FROM
|
FROM
|
||||||
generatorWordlistWord
|
generatorWordlistWord
|
||||||
|
GROUP BY wordlistId
|
||||||
) AS w ON generatorWordlist.id = w.wordlistId
|
) AS w ON generatorWordlist.id = w.wordlistId
|
||||||
ORDER BY
|
ORDER BY
|
||||||
generatorWordlist.createdAt DESC;
|
generatorWordlist.createdAt DESC;
|
||||||
|
|
Loading…
Reference in New Issue