@@ -29,11 +29,11 @@ class FubabceClaimsService extends CrudService {
as: 'innew' } },
{ $unwind: '$innew' },
{ $project: { uid: {$toObjectId: '$uid'},top:1,status:1,name:1,mongey_min_rate:1,mongey_min_rate:1,mongey_max_rate:1,claims_min_term:1,claims_max_term:1,ensure_id:1,repayment_id:1,claims_min_money:1
- ,claims_max_money:1,meta:1,innew:1} },
+ ,claims_max_money:1,metatime:'$meta.updatedAt',innew:1} },
{ $match: match },
{ $skip: (skip - 1) * limit },
{ $limit: limit },
- { $sort : { '$meta.updatedAt':1 } }
+ { $sort : { metatime:1 } }
]);
return res;
}