diff --git a/extension/posterita/webui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java b/extension/posterita/webui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java index 6d8785f3ff..bb3767a25d 100644 --- a/extension/posterita/webui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java +++ b/extension/posterita/webui/WEB-INF/src/org/adempiere/webui/panel/ADWindowPanel.java @@ -303,10 +303,13 @@ public class ADWindowPanel extends Vbox implements ToolbarListener, FindWindow find = new FindWindow(curWindowNo, mTab.getName(), mTab.getAD_Table_ID(), mTab.getTableName(), where.toString(), findFields, 10); // no query below 10 - find.setVisible(true); - AEnv.showWindow(find); - query = find.getQuery(); - find = null; + if (find.getTitle() != null && find.getTitle().length() > 0) { + // Title is not set when the number of rows is below the minRecords parameter (10) + find.setVisible(true); + AEnv.showWindow(find); + query = find.getQuery(); + find = null; + } } return query; } // initialQuery