Pagination sorting fix

merge-requests/23/head
Hiroyuki 2021-03-23 20:10:39 -04:00
parent 3a96ed08c8
commit b9edc45e10
No known key found for this signature in database
GPG Key ID: C15AC26538975A24
1 changed files with 2 additions and 0 deletions

View File

@ -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({