Hotfix params bookshelf filters

This commit is contained in:
Jim Laurie 2018-04-03 17:04:10 +02:00
parent e70613bc0e
commit cd8fd85f12

View File

@ -14,7 +14,7 @@ module.exports = {
});
if (params.sort) {
qb.orderBy(convertedParams.sort.key, convertedParams.sort.order);
qb.orderBy(params.sort.key, params.sort.order);
}
if (params.skip) {