IDEMPIERE-4658 The operator Dropdown entries for a foreign ID column is corrupted when a search preset is loaded in any window's Advanced Search tab. (#564)
Fix issue discovered: * Saving a query with LIKE operator, when restored it changes to = operator
This commit is contained in:
parent
e20e195c57
commit
c5c08a8b87
|
@ -1238,6 +1238,9 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
|||
}
|
||||
if(!selected) listColumn.setSelectedIndex(0);
|
||||
|
||||
if (liCol != null)
|
||||
addOperators(liCol, listOperator);
|
||||
|
||||
selected = false;
|
||||
for (int i = 0; i < op.length; i++)
|
||||
{
|
||||
|
@ -1250,9 +1253,6 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
|||
}
|
||||
}
|
||||
if(!selected) listOperator.setSelectedIndex(0);
|
||||
|
||||
if (liCol != null)
|
||||
addOperators(liCol, listOperator);
|
||||
}
|
||||
} // setValues
|
||||
|
||||
|
|
Loading…
Reference in New Issue