From ba2684ceddf9b76312635b9cddc6bf6975ce436a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Jul 2022 11:58:01 +0200 Subject: Fix lint --- shared/server-commands/search/search-command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared/server-commands/search') diff --git a/shared/server-commands/search/search-command.ts b/shared/server-commands/search/search-command.ts index 0fbbcd6ef..a5b498b66 100644 --- a/shared/server-commands/search/search-command.ts +++ b/shared/server-commands/search/search-command.ts @@ -74,7 +74,7 @@ export class SearchCommand extends AbstractCommand { ...options, search: { - search: search, + search, sort: sort ?? '-publishedAt' } }) -- cgit v1.2.3