Skip to content

Commit

Permalink
🐛 Database filtering for specific dates not working Fix #10518
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Mar 7, 2024
1 parent 4df3445 commit 8827a5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/model/attribute_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -2790,6 +2790,9 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
if nil != blockVal {
blockVal.Block.Updated = now
blockVal.UpdatedAt = now
if val.CreatedAt == val.UpdatedAt {
val.UpdatedAt += 1000 // 防止更新时间和创建时间一样
}
if isUpdatingBlockKey {
blockVal.IsDetached = val.IsDetached
}
Expand Down

0 comments on commit 8827a5d

Please sign in to comment.