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){