chuni: sort user activity response

This commit is contained in:
seika1 2020-08-05 02:42:20 -07:00 committed by Tau
parent 1e3e65bf48
commit 5c7c0b1f23

View File

@ -28,7 +28,8 @@ export class SqlUserActivityRepository implements UserActivityRepository {
.select("*")
.from("cm_user_activity")
.where("profile_id", profileId)
.where("kind", kind);
.where("kind", kind)
.orderBy("sort_number DESC");
const rows = await this._txn.fetchRows(stmt);