不要な orderBy を削除

上で WHERE isActive = true している
This commit is contained in:
riku6460 2023-10-11 03:46:56 +09:00
parent 0b6e36ffbd
commit 1e56bdc891
No known key found for this signature in database
GPG key ID: 27414FA27DB94CF6

View file

@ -129,7 +129,6 @@ export class AnnouncementService {
})); }));
query.orderBy({ query.orderBy({
'announcement."isActive"': 'DESC',
'announcement."displayOrder"': 'DESC', 'announcement."displayOrder"': 'DESC',
'announcement."createdAt"': 'DESC', 'announcement."createdAt"': 'DESC',
}); });