Fix filtering issue

Signed-off-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
This commit is contained in:
Till Faelligen 2025-06-05 20:35:30 +02:00
parent ee42cb48a4
commit 7e5e7dc34b
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E
2 changed files with 78 additions and 68 deletions

View file

@ -46,7 +46,7 @@ func prepareWithFilters(
params, offset = append(params, v), offset+1
}
} else {
query += ` AND sender NOT = ""`
query += ` AND sender != ""`
}
}
if types != nil {
@ -66,7 +66,7 @@ func prepareWithFilters(
params, offset = append(params, v), offset+1
}
} else {
query += ` AND type NOT = ""`
query += ` AND type != ""`
}
}
if containsURL != nil {