From 2bf3fead6d8731d4ab32860ee5007cf10cf40406 Mon Sep 17 00:00:00 2001 From: Rizki Date: Fri, 10 Apr 2026 16:08:33 +0700 Subject: [PATCH] upd --- adapter/justificationadapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/justificationadapter.js b/adapter/justificationadapter.js index 06bf13e..5aff2d5 100644 --- a/adapter/justificationadapter.js +++ b/adapter/justificationadapter.js @@ -879,7 +879,7 @@ class JustificationAdapter extends Adapter{ let division = req.body.division || ''; let sort = req.body.sort || 'latest'; - const orderBy = sort === 'past' ? 'udt ASC' : 'udt DESC'; + const orderBy = sort === 'past' ? 'id ASC' : 'id DESC'; let swherenik=""; if(nik){