chuni: sort user activity response

This commit is contained in:
seika1
2020-08-17 21:11:00 -04:00
committed by Tau
parent 1e3e65bf48
commit 5c7c0b1f23
+2 -1
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);