From 06d6c07d3f62a7fabb30eb17b42033c65c2e04ce Mon Sep 17 00:00:00 2001 From: Bright Date: Wed, 27 Nov 2024 15:35:04 +0700 Subject: [PATCH] =?UTF-8?q?sort=20=E0=B9=80=E0=B8=A3=E0=B8=B5=E0=B8=A2?= =?UTF-8?q?=E0=B8=87=E0=B8=88=E0=B8=B2=E0=B8=81=E0=B8=A7=E0=B8=B1=E0=B8=99?= =?UTF-8?q?=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=AA=E0=B8=A3=E0=B9=89=E0=B8=B2?= =?UTF-8?q?=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/DevelopmentScholarshipController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/DevelopmentScholarshipController.ts b/src/controllers/DevelopmentScholarshipController.ts index e92d2ef..74a1d74 100644 --- a/src/controllers/DevelopmentScholarshipController.ts +++ b/src/controllers/DevelopmentScholarshipController.ts @@ -550,6 +550,7 @@ export class DevelopmentScholarshipController extends Controller { { scholarshipType: type }, ) .select(["id", "scholarshipYear", "scholarshipYear", "scholarshipType", "fundType"]) + .orderBy("developmentScholarship.createdAt", "DESC") .getRawMany(); return new HttpSuccess(getDevelopment);