Browse Source

sort asc proyek by nama

pull/2/head
wahyuun 1 year ago
parent
commit
5adac3a135
  1. 4
      src/views/SimproV2/CreatedProyek/index.js

4
src/views/SimproV2/CreatedProyek/index.js

@ -325,7 +325,7 @@ const CreatedProyek = ({ params, ...props }) => {
},
// { "name": "subproyeks.m_subproyek", "column_join": "parent_id", "column_results": ["nama", "biaya", "color_progress", "jumlah_pekerja", "pic", "mulai_proyek", "akhir_proyek", "biaya_actual", "persentase_progress_plan", "persentase_progress_actual"] }
],
orders: { columns: ["id"], ascending: false },
orders: { columns: ["nama"], ascending: true },
paging: { start: start, length: rowsPerPage },
};
@ -1356,7 +1356,7 @@ const CreatedProyek = ({ params, ...props }) => {
},
// { "name": "subproyeks.m_subproyek", "column_join": "parent_id", "column_results": ["nama", "biaya", "color_progress", "jumlah_pekerja", "pic", "mulai_proyek", "akhir_proyek", "biaya_actual", "persentase_progress_plan", "persentase_progress_actual"] }
],
orders: { columns: ["id"], ascending: false },
orders: { columns: ["nama"], ascending: true },
};
const result = await axios

Loading…
Cancel
Save