From 3082e950ceb8076f09709fb8032fb7b32ccbd863 Mon Sep 17 00:00:00 2001 From: elangptra Date: Thu, 19 Dec 2024 14:05:22 +0700 Subject: [PATCH] refactor: monitoring order --- controllers/monitoringControllers/monitoring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/monitoringControllers/monitoring.js b/controllers/monitoringControllers/monitoring.js index 657eb88..4be025f 100644 --- a/controllers/monitoringControllers/monitoring.js +++ b/controllers/monitoringControllers/monitoring.js @@ -361,7 +361,7 @@ export const monitoringStudentProgressById = async (req, res) => { "STUDENT_START", "STUDENT_FINISH", ], - order: [["STUDENT_FINISH", "DESC"]], + order: [["STUDENT_FINISH", "ASC"]], distinct: true, });