IDEMPIERE-5921 Enable Multi-Selection on Search fields (Info Windows) by default (#2095)
This commit is contained in:
parent
7e53d829e2
commit
c9ade514bb
|
@ -484,7 +484,7 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
|||
setTableAndKeyColumn();
|
||||
|
||||
// process input text with infopanel/infowindow
|
||||
final InfoPanel ip = InfoManager.create(lookup, gridField, m_tableName, m_keyColumnName, getComponent().getText(), false, getWhereClause());
|
||||
final InfoPanel ip = InfoManager.create(lookup, gridField, m_tableName, m_keyColumnName, getComponent().getText(), true, getWhereClause());
|
||||
if (ip != null && ip.loadedOK() && ip.getRowCount() == 1)
|
||||
{
|
||||
if (ip.getFirstRowKey() instanceof Integer)
|
||||
|
@ -714,7 +714,7 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
|||
if (m_tableName == null) // sets table name & key column
|
||||
setTableAndKeyColumn();
|
||||
|
||||
final InfoPanel ip = InfoManager.create(lookup, gridField, m_tableName, m_keyColumnName, queryValue, false, whereClause);
|
||||
final InfoPanel ip = InfoManager.create(lookup, gridField, m_tableName, m_keyColumnName, queryValue, true, whereClause);
|
||||
if (ip != null)
|
||||
showInfoPanel(ip);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue