upd : project

Deskripsi:
- order by
- jumlah member
- tipe csv diilangin

No Issues
This commit is contained in:
amel
2024-09-23 20:04:24 +08:00
parent b58d9c79c9
commit 5b6f9fbe90
8 changed files with 25 additions and 21 deletions

View File

@@ -1,11 +1,7 @@
import { CreateProject, ViewFileSave } from "@/module/project";
import { CreateProject } from "@/module/project";
import React from "react";
function Page({ searchParams }: { searchParams: any }) {
// if (searchParams.page == "file-save")
// return <ViewFileSave kategori="project" />
return <CreateProject />;
}

View File

@@ -67,7 +67,7 @@ export async function GET(request: Request, context: { params: { id: string } })
dateEnd: true,
},
orderBy: {
status: 'desc'
createdAt: 'asc'
}
})

View File

@@ -89,6 +89,9 @@ export async function GET(request: Request) {
idUser: true
}
}
},
orderBy:{
createdAt: 'desc'
}
})