fixed bug in greuge
This commit is contained in:
parent
fe27f0e44f
commit
7b82c10a1b
|
@ -8,7 +8,7 @@ module.exports = Self => {
|
|||
},
|
||||
skip: (params.page - 1) * parseInt(params.size),
|
||||
limit: parseInt(params.size),
|
||||
order: `${params.order}, id ASC` || 'shipped DESC',
|
||||
order: (params.order || 'shipped DESC') + ', id ASC',
|
||||
include: {
|
||||
relation: "greugeType",
|
||||
scope: {
|
||||
|
|
Loading…
Reference in New Issue