IDEMPIERE-1228 use saved query with active column, make result empty record. Revert an optimization make at 5495274 for IDEMPIERE-1105 that break advance search for YesNo field.

This commit is contained in:
Heng Sin Low 2013-08-14 15:50:56 +08:00
parent ea449dbd6b
commit b697fcbff1
1 changed files with 39 additions and 40 deletions

View File

@ -613,7 +613,6 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
{ {
GridField mField = m_findFields[i]; GridField mField = m_findFields[i];
if (mField.isSelectionColumn()) {
if (mField.getVO().displayType == DisplayType.YesNo) { if (mField.getVO().displayType == DisplayType.YesNo) {
// Make Yes-No searchable as list // Make Yes-No searchable as list
GridFieldVO vo = mField.getVO(); GridFieldVO vo = mField.getVO();
@ -657,9 +656,9 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
m_findFields[i] = findField; m_findFields[i] = findField;
mField = findField; mField = findField;
} }
if (mField.isSelectionColumn()) {
gridFieldList.add(mField); gridFieldList.add(mField);
} // isSelectionColumn } // isSelectionColumn
} // for all target tab fields } // for all target tab fields