mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add order by clause
This commit is contained in:
parent
568a6cdd2c
commit
c3b624f36f
@ -60,6 +60,7 @@ export const getUserCreations = async (
|
||||
.andWhere('denied_at IS NULL')
|
||||
.groupBy('month')
|
||||
.addGroupBy('userId')
|
||||
.orderBy('month', 'DESC')
|
||||
|
||||
if (!includePending) {
|
||||
sumAmountContributionPerUserAndLast3MonthQuery.andWhere('confirmed_at IS NOT NULL')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user