IDEMPIERE-5921 Enable Multi-Selection on Search fields (Info Windows) by default (#2095)

This commit is contained in:
Carlos Ruiz 2023-11-10 15:08:59 +01:00 committed by GitHub
parent 7e53d829e2
commit c9ade514bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -484,7 +484,7 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
setTableAndKeyColumn(); setTableAndKeyColumn();
// process input text with infopanel/infowindow // 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 != null && ip.loadedOK() && ip.getRowCount() == 1)
{ {
if (ip.getFirstRowKey() instanceof Integer) 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 if (m_tableName == null) // sets table name & key column
setTableAndKeyColumn(); 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) if (ip != null)
showInfoPanel(ip); showInfoPanel(ip);
} }