scheduler-services 1.3.94 → 1.3.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/buildInitial.js +1 -1
- package/package.json +1 -1
package/buildInitial.js
CHANGED
|
@@ -203,7 +203,7 @@ class BuildInitial {
|
|
|
203
203
|
});
|
|
204
204
|
await Promise.allSettled(requestPromises);
|
|
205
205
|
sql = `SELECT * FROM employeeLeaves WHERE employeeid IN ( ${this.employeeList} ) `
|
|
206
|
-
+ "ORDER BY employeeid,
|
|
206
|
+
+ "ORDER BY employeeid, leavedate;";
|
|
207
207
|
results = await conn.query(sql);
|
|
208
208
|
const leavePromises = results.map(async (row) => {
|
|
209
209
|
const empID = `${row.employeeid}`;
|