소스 검색

commit lagi

yazid138 2 년 전
부모
커밋
0eee4c4a76
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controller/graph.controller.js

+ 1 - 1
controller/graph.controller.js

@@ -396,7 +396,7 @@ exports.laporanSelesai = handleError(async (req, res) => {
 exports.jumlahStatusLaporan = handleError(async (req, res) => {
   let dataPembina = await laporanModel.find({
     aktif: true,
-  })
+  }).sort({'e.pt.pembina.nama': 1})
   const user = req.user
 
   dataPembina = [