mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix sql query for face recognition persons
This commit is contained in:
parent
9b3a755add
commit
4bfe37b94c
1 changed files with 2 additions and 0 deletions
|
@ -571,6 +571,8 @@ extension SqliteDbExtension on SqliteDb {
|
|||
useColumns: false),
|
||||
])
|
||||
..where(servers.address.equals(appAccount!.url))
|
||||
..where(
|
||||
accounts.userId.equals(appAccount.userId.toCaseInsensitiveString()))
|
||||
..where(persons.name.like(name) |
|
||||
persons.name.like("% $name") |
|
||||
persons.name.like("$name %"));
|
||||
|
|
Loading…
Reference in a new issue