IDEMPIERE-3390 Virtual column can't be used for search, empty result returned
This commit is contained in:
parent
7fb4e1fa57
commit
68fec48868
|
@ -2514,7 +2514,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
|
|
||||||
private boolean isSearchLike(GridField field)
|
private boolean isSearchLike(GridField field)
|
||||||
{
|
{
|
||||||
return DisplayType.isText(field.getDisplayType())
|
return DisplayType.isText(field.getDisplayType()) && !field.isVirtualColumn()
|
||||||
&& (field.isSelectionColumn() || MColumn.isSuggestSelectionColumn(field.getColumnName(), true));
|
&& (field.isSelectionColumn() || MColumn.isSuggestSelectionColumn(field.getColumnName(), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue