fix(views): update all fields when updating a view
continuous-integration/drone/push Build is failing Details

Resolves #2241
This commit is contained in:
kolaente 2024-03-29 18:19:16 +01:00
parent cc6801c5b1
commit 89e37b88d9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 13 additions and 1 deletions

View File

@ -331,7 +331,19 @@ func (p *ProjectView) Update(s *xorm.Session, _ web.Auth) (err error) {
return
}
_, err = s.ID(p.ID).Update(p)
_, err = s.
ID(p.ID).
Cols(
"title",
"view_kind",
"filter",
"position",
"bucket_configuration_mode",
"bucket_configuration",
"default_bucket_id",
"done_bucket_id",
).
Update(p)
if err != nil {
return
}