fix wrong column name
This commit is contained in:
parent
d82c8e8e97
commit
4fde14d1cc
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ export class SearchService {
|
||||||
.leftJoinAndSelect('reply.user', 'replyUser')
|
.leftJoinAndSelect('reply.user', 'replyUser')
|
||||||
.leftJoinAndSelect('renote.user', 'renoteUser');
|
.leftJoinAndSelect('renote.user', 'renoteUser');
|
||||||
|
|
||||||
query.andWhere('note.tsvector @@ websearch_to_tsquery(:q)', { q });
|
query.andWhere('note.tsvector_embedding @@ websearch_to_tsquery(:q)', { q });
|
||||||
|
|
||||||
if (opts.order === 'asc') {
|
if (opts.order === 'asc') {
|
||||||
query
|
query
|
||||||
|
|
Loading…
Add table
Reference in a new issue