Closed jadhavmanoj closed 2 years ago
When we pass DESC NULL FIRST in order list, it choose different operator & unexpected data returns.
DESC NULL FIRST
Probable fix for this is - src/utils.ts
const currentOp = order[0][1].toLowerCase().split(" ")[0] === 'desc' ? Op.lt : Op.gt;
Let me know if you have any other suggestion. So I will create a PR.
Sounds good!
When we pass
DESC NULL FIRST
in order list, it choose different operator & unexpected data returns.Probable fix for this is - src/utils.ts
Let me know if you have any other suggestion. So I will create a PR.