diff --git a/back/services/subscription.ts b/back/services/subscription.ts index fa36a3bd..205567a5 100644 --- a/back/services/subscription.ts +++ b/back/services/subscription.ts @@ -62,7 +62,10 @@ export default class SubscriptionService { try { const result = await SubscriptionModel.findAll({ where: query, - order: [['createdAt', 'DESC']], + order: [ + ['is_disabled', 'ASC'], + ['createdAt', 'DESC'], + ], }); return result as any; } catch (error) {