mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +02:00
🎨 Improve database field default filling https://github.com/siyuan-note/siyuan/issues/11966 https://github.com/siyuan-note/siyuan/issues/15535
This commit is contained in:
parent
1136c1c493
commit
c9530ea1c2
1 changed files with 6 additions and 0 deletions
|
@ -352,6 +352,12 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa
|
|||
}
|
||||
}
|
||||
case KeyTypeDate:
|
||||
if nil != value.Date && nil != other && nil != other.Date {
|
||||
if !other.Date.IsNotEmpty {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
if nil != value.Date {
|
||||
switch operator {
|
||||
case FilterOperatorIsEmpty:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue