Fix example

This commit is contained in:
ppetzold 2020-06-28 20:06:34 +02:00
parent 46dd00faa0
commit 4d9005cf3c

View File

@ -112,7 +112,7 @@ export class CatsService {
return paginate(query, this.catsRepository, {
sortableColumns: ['id', 'name', 'color'],
searchableColumns: ['name', 'color'],
defaultOrderby: [['color', 'DESC']],
defaultSortBy: [['id', 'DESC']],
})
}
}