Pagination sorting fix
parent
3a96ed08c8
commit
b9edc45e10
|
@ -182,6 +182,8 @@ export default class Root extends Route {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
returned.sort((a, b) => a.at - b.at);
|
||||||
|
|
||||||
const total = counts.eo + counts.motion + counts.proc + counts.resolution;
|
const total = counts.eo + counts.motion + counts.proc + counts.resolution;
|
||||||
|
|
||||||
res.status(200).json({
|
res.status(200).json({
|
||||||
|
|
Loading…
Reference in New Issue