mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
🎨 Improve database date column "Is Empty" filtering https://github.com/siyuan-note/siyuan/issues/9463
This commit is contained in:
parent
7874760642
commit
c8f6e3ed76
1 changed files with 4 additions and 2 deletions
|
|
@ -653,9 +653,11 @@ func (table *Table) FilterRows() {
|
|||
operator := table.Filters[j].Operator
|
||||
|
||||
if nil == row.Cells[index].Value {
|
||||
switch operator {
|
||||
case FilterOperatorIsNotEmpty:
|
||||
if FilterOperatorIsNotEmpty == operator {
|
||||
pass = false
|
||||
} else if FilterOperatorIsEmpty == operator {
|
||||
pass = true
|
||||
break
|
||||
}
|
||||
|
||||
if KeyTypeText != row.Cells[index].ValueType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue