sort เรียงจากวันที่สร้าง
This commit is contained in:
parent
483e64ffe3
commit
06d6c07d3f
1 changed files with 1 additions and 0 deletions
|
|
@ -550,6 +550,7 @@ export class DevelopmentScholarshipController extends Controller {
|
||||||
{ scholarshipType: type },
|
{ scholarshipType: type },
|
||||||
)
|
)
|
||||||
.select(["id", "scholarshipYear", "scholarshipYear", "scholarshipType", "fundType"])
|
.select(["id", "scholarshipYear", "scholarshipYear", "scholarshipType", "fundType"])
|
||||||
|
.orderBy("developmentScholarship.createdAt", "DESC")
|
||||||
.getRawMany();
|
.getRawMany();
|
||||||
|
|
||||||
return new HttpSuccess(getDevelopment);
|
return new HttpSuccess(getDevelopment);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue