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:
Carlos Ruiz 2021-02-01 15:20:19 +01:00 committed by GitHub
parent e20e195c57
commit c5c08a8b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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