upd: list pengaduan
Deskripsi: - pencarian data list pengaduan No Issues
This commit is contained in:
@@ -500,7 +500,7 @@ const PengaduanRoute = new Elysia({
|
||||
]
|
||||
}
|
||||
|
||||
if (status && status !== "all") {
|
||||
if (status && status !== "semua") {
|
||||
where = {
|
||||
...where,
|
||||
status: status
|
||||
@@ -511,7 +511,7 @@ const PengaduanRoute = new Elysia({
|
||||
skip,
|
||||
take: !take ? 10 : Number(take),
|
||||
orderBy: {
|
||||
createdAt: "asc"
|
||||
createdAt: "desc"
|
||||
},
|
||||
where,
|
||||
select: {
|
||||
|
||||
Reference in New Issue
Block a user