From 4d9005cf3c47f4d1543ed57254f4ceee0db2a5bf Mon Sep 17 00:00:00 2001 From: ppetzold Date: Sun, 28 Jun 2020 20:06:34 +0200 Subject: [PATCH] Fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a942f7..3b62b5f 100644 --- a/README.md +++ b/README.md @@ -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']], }) } }