We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 033f603 + 38d3d4b commit ace8164Copy full SHA for ace8164
electron_app/src/DBManager.js
@@ -711,7 +711,7 @@ const getEmailsGroupByThreadByParams = async (params = {}) => {
711
${customRejectedLabels}
712
ORDER BY ${Table.EMAIL}.date DESC
713
)
714
- GROUP BY threadId
+ GROUP BY uniqueId
715
${labelId > 0 ? `HAVING myAllLabels LIKE "%L${labelId}L%"` : ''}
716
ORDER BY date DESC
717
LIMIT ${limit || 22}`;
@@ -893,7 +893,7 @@ const getEmailsGroupByThreadByParamsToSearch = (params = {}) => {
893
894
LIMIT 100
895
896
897
898
899
0 commit comments