mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-29 10:06:57 +00:00
Merge branch 'develop' into merge/2024-02-03
# Conflicts: # packages/backend/src/core/SearchService.ts
This commit is contained in:
commit
ec29e12c97
1 changed files with 2 additions and 2 deletions
|
@ -286,9 +286,9 @@ export class SearchService {
|
||||||
|
|
||||||
if (opts.host) {
|
if (opts.host) {
|
||||||
if (opts.host === '.') {
|
if (opts.host === '.') {
|
||||||
query.andWhere('user.host IS NULL');
|
query.andWhere('note.userHost IS NULL');
|
||||||
} else {
|
} else {
|
||||||
query.andWhere('user.host = :host', { host: opts.host });
|
query.andWhere('note.userHost = :host', { host: opts.host });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue