fix: don't override saved filters

This commit is contained in:
kolaente 2022-08-17 17:03:01 +02:00
parent 10ded56f66
commit beb4d07cf9
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,9 @@ func init() {
f["filters"] = string(filtersJSON)
_, err = tx.Where("id", f["id"]).
_, err = tx.Where("id = ?", f["id"]).
Cols("filters").
NoAutoCondition().
Table("saved_filters").
Update(f)
if err != nil {