diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-09 16:23:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | dd0ebb715123dfa126a82d4e4fe3a04064ae77b8 (patch) | |
tree | e0741f35b31c66f09f7d9ad808b224ef86151bb1 /shared/extra-utils/search/search-command.ts | |
parent | 9293139fde7091e9badcafa9b570b83cea9a10ad (diff) | |
download | PeerTube-dd0ebb715123dfa126a82d4e4fe3a04064ae77b8.tar.gz PeerTube-dd0ebb715123dfa126a82d4e4fe3a04064ae77b8.tar.zst PeerTube-dd0ebb715123dfa126a82d4e4fe3a04064ae77b8.zip |
Introduce notifications command
Diffstat (limited to 'shared/extra-utils/search/search-command.ts')
-rw-r--r-- | shared/extra-utils/search/search-command.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/search/search-command.ts b/shared/extra-utils/search/search-command.ts index 7539a21ec..b6054f093 100644 --- a/shared/extra-utils/search/search-command.ts +++ b/shared/extra-utils/search/search-command.ts | |||
@@ -90,7 +90,7 @@ export class SearchCommand extends AbstractCommand { | |||
90 | ...options, | 90 | ...options, |
91 | 91 | ||
92 | path, | 92 | path, |
93 | query: search, | 93 | query: { sort: '-publishedAt', ...search }, |
94 | implicitToken: false, | 94 | implicitToken: false, |
95 | defaultExpectedStatus: HttpStatusCode.OK_200 | 95 | defaultExpectedStatus: HttpStatusCode.OK_200 |
96 | }) | 96 | }) |