Fix erroneous orderBy parsing

master
Sven Slootweg 4 months ago
parent 6f5b9986e4
commit 7e619deb22

@ -205,7 +205,7 @@ module.exports = {
}
if (orderBy != null) {
let ascending = orderBy.startsWith("-");
let ascending = !orderBy.startsWith("-");
let orderField = (ascending === true)
? orderBy

Loading…
Cancel
Save