fix: search being broken on dev through mastodon
This commit is contained in:
@@ -183,7 +183,7 @@ export class SearchService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const res = await this.meilisearchNoteIndex!.search(q, {
|
const res = await this.meilisearchNoteIndex!.search(q, {
|
||||||
sort: [`createdAt:${opts.order}`],
|
sort: [`createdAt:${opts.order ? opts.order : 'desc'}`],
|
||||||
matchingStrategy: 'all',
|
matchingStrategy: 'all',
|
||||||
attributesToRetrieve: ['id', 'createdAt'],
|
attributesToRetrieve: ['id', 'createdAt'],
|
||||||
filter: compileQuery(filter),
|
filter: compileQuery(filter),
|
||||||
|
|||||||
Reference in New Issue
Block a user