Search on empty window failing - ID: 2849453
This commit is contained in:
parent
506bc2038f
commit
127810e831
|
@ -494,8 +494,6 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
where.toString(), findFields, 10, mTab.getAD_Tab_ID()); // no query below 10
|
where.toString(), findFields, 10, mTab.getAD_Tab_ID()); // no query below 10
|
||||||
if (find.getTitle() != null && find.getTitle().length() > 0) {
|
if (find.getTitle() != null && find.getTitle().length() > 0) {
|
||||||
// Title is not set when the number of rows is below the minRecords parameter (10)
|
// Title is not set when the number of rows is below the minRecords parameter (10)
|
||||||
find.setVisible(true);
|
|
||||||
AEnv.showWindow(find);
|
|
||||||
if (!find.isCancel())
|
if (!find.isCancel())
|
||||||
{
|
{
|
||||||
query = find.getQuery();
|
query = find.getQuery();
|
||||||
|
|
|
@ -909,8 +909,6 @@ public class ZkReportViewer extends Window implements EventListener {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FindWindow find = new FindWindow(m_WindowNo, title, AD_Table_ID, tableName,"", findFields, 1, AD_Tab_ID);
|
FindWindow find = new FindWindow(m_WindowNo, title, AD_Table_ID, tableName,"", findFields, 1, AD_Tab_ID);
|
||||||
find.setVisible(true);
|
|
||||||
AEnv.showWindow(find);
|
|
||||||
if (!find.isCancel())
|
if (!find.isCancel())
|
||||||
{
|
{
|
||||||
m_reportEngine.setQuery(find.getQuery());
|
m_reportEngine.setQuery(find.getQuery());
|
||||||
|
|
Loading…
Reference in New Issue