From 2892a76b17b43e06c026491583091bf7c4e9068b Mon Sep 17 00:00:00 2001 From: ppetzold Date: Sun, 28 Jun 2020 19:39:36 +0200 Subject: [PATCH] Fix example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c21f101..9a942f7 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,8 @@ export class CatsService { public findAll(query: PaginateQuery): Promise> { return paginate(query, this.catsRepository, { - sortableColumns: ['name', 'color'], + sortableColumns: ['id', 'name', 'color'], + searchableColumns: ['name', 'color'], defaultOrderby: [['color', 'DESC']], }) }