mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
Filter: switching off a custom condition does not affect filtered records #PL-5186
This commit is contained in:
parent
4128bb936a
commit
fa71f8bef4
@ -31,6 +31,7 @@ import com.haulmont.cuba.gui.data.impl.DatasourceImplementation;
|
||||
import com.haulmont.cuba.gui.theme.ThemeConstants;
|
||||
import com.haulmont.cuba.gui.theme.ThemeConstantsManager;
|
||||
import com.haulmont.cuba.gui.xml.layout.ComponentsFactory;
|
||||
import org.apache.commons.lang.BooleanUtils;
|
||||
import org.apache.commons.lang.ObjectUtils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.dom4j.Element;
|
||||
@ -344,6 +345,7 @@ public class Param {
|
||||
field.addListener(new ValueListener() {
|
||||
@Override
|
||||
public void valueChanged(Object source, String property, @Nullable Object prevValue, @Nullable Object value) {
|
||||
value = BooleanUtils.isTrue((Boolean) value) ? true : null;
|
||||
_setValue(value, valueProperty);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user