Fix example
This commit is contained in:
parent
46dd00faa0
commit
4d9005cf3c
@ -112,7 +112,7 @@ export class CatsService {
|
|||||||
return paginate(query, this.catsRepository, {
|
return paginate(query, this.catsRepository, {
|
||||||
sortableColumns: ['id', 'name', 'color'],
|
sortableColumns: ['id', 'name', 'color'],
|
||||||
searchableColumns: ['name', 'color'],
|
searchableColumns: ['name', 'color'],
|
||||||
defaultOrderby: [['color', 'DESC']],
|
defaultSortBy: [['id', 'DESC']],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user