From 754107280445c1f186ba0903b973faaf956dff07 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 27 Mar 2019 15:56:11 -0300 Subject: [PATCH] IDEMPIERE-3936 Info Window to maintain Support Roles / fix issue - search editor not working to find info windows for views --- .../WEB-INF/src/org/adempiere/webui/editor/WSearchEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WSearchEditor.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WSearchEditor.java index 3291908dcb..2b491a0409 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WSearchEditor.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WSearchEditor.java @@ -795,7 +795,7 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value String query = "SELECT t.TableName, c.ColumnName " + "FROM AD_Column c " - + " INNER JOIN AD_Table t ON (c.AD_Table_ID=t.AD_Table_ID AND t.IsView='N') " + + " INNER JOIN AD_Table t ON (c.AD_Table_ID=t.AD_Table_ID) " + "WHERE (c.ColumnName IN ('DocumentNo', 'Value', 'Name') OR c.IsIdentifier='Y')" + " AND c.AD_Reference_ID IN (10,14)" + " AND EXISTS (SELECT * FROM AD_Column cc WHERE cc.AD_Table_ID=t.AD_Table_ID"