Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/dev' into dev

Vanessa 1 anno fa
parent
commit
4f928dc579
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      kernel/av/table.go

+ 4 - 2
kernel/av/table.go

@@ -653,9 +653,11 @@ func (table *Table) FilterRows() {
 			operator := table.Filters[j].Operator
 			operator := table.Filters[j].Operator
 
 
 			if nil == row.Cells[index].Value {
 			if nil == row.Cells[index].Value {
-				switch operator {
-				case FilterOperatorIsNotEmpty:
+				if FilterOperatorIsNotEmpty == operator {
 					pass = false
 					pass = false
+				} else if FilterOperatorIsEmpty == operator {
+					pass = true
+					break
 				}
 				}
 
 
 				if KeyTypeText != row.Cells[index].ValueType {
 				if KeyTypeText != row.Cells[index].ValueType {