mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15645
This commit is contained in:
parent
bbc788cfa5
commit
4a0c4506e8
1 changed files with 6 additions and 1 deletions
|
|
@ -361,7 +361,12 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa
|
||||||
case KeyTypeSelect, KeyTypeMSelect:
|
case KeyTypeSelect, KeyTypeMSelect:
|
||||||
if nil != value.MSelect {
|
if nil != value.MSelect {
|
||||||
if 1 > len(other.MSelect) {
|
if 1 > len(other.MSelect) {
|
||||||
return true
|
switch operator {
|
||||||
|
case FilterOperatorIsEmpty:
|
||||||
|
return value.IsEmpty()
|
||||||
|
case FilterOperatorIsNotEmpty:
|
||||||
|
return !value.IsEmpty()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch operator {
|
switch operator {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue