|
@@ -43,7 +43,7 @@ class PatentchatService extends CrudService {
|
|
const rData = [];
|
|
const rData = [];
|
|
for (const key in obj) {
|
|
for (const key in obj) {
|
|
let arr = obj[key];
|
|
let arr = obj[key];
|
|
- arr = _.orderBy(arr, [ 'send_time' ], [ 'desc' ]);
|
|
|
|
|
|
+ arr = _.orderBy(arr, [ 'meta.createdAt' ], [ 'desc' ]);
|
|
const head = _.head(arr);
|
|
const head = _.head(arr);
|
|
rData.push(head);
|
|
rData.push(head);
|
|
}
|
|
}
|