mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
🐛 Database filtering for specific dates not working Fix https://github.com/siyuan-note/siyuan/issues/10518
This commit is contained in:
parent
a46e626319
commit
b7e3e5fd8d
4 changed files with 66 additions and 31 deletions
|
|
@ -193,8 +193,7 @@ func (value *Value) IsEdited() bool {
|
|||
return true
|
||||
}
|
||||
|
||||
if value.IsGenerated() {
|
||||
// 所有生成的数据都认为是编辑过的
|
||||
if KeyTypeUpdated == value.Type || KeyTypeCreated == value.Type {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
@ -206,7 +205,7 @@ func (value *Value) IsEdited() bool {
|
|||
}
|
||||
|
||||
func (value *Value) IsGenerated() bool {
|
||||
return KeyTypeTemplate == value.Type || KeyTypeRollup == value.Type || KeyTypeUpdated == value.Type || KeyTypeCreated == value.Type
|
||||
return KeyTypeUpdated == value.Type || KeyTypeCreated == value.Type
|
||||
}
|
||||
|
||||
func (value *Value) IsEmpty() bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue