From c2c4bd8215413bbac3eaa354746d03e72d65370c Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 8 Apr 2015 15:32:07 -0500 Subject: [PATCH] IDEMPIERE-1135 Report wizard not clearing order items --- .../src/org/adempiere/webui/panel/WRC3SortCriteriaPanel.java | 2 +- .../org/adempiere/webui/panel/WRC4GroupingCriteriaPanel.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC3SortCriteriaPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC3SortCriteriaPanel.java index d630ec55fc..280de9e188 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC3SortCriteriaPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC3SortCriteriaPanel.java @@ -175,7 +175,7 @@ public class WRC3SortCriteriaPanel extends WRCTabPanel implements EventListener noItems =new ArrayList(); for(int i=0 ; i< m_pfi.size();i++){ MPrintFormatItem item = m_pfi.get(i); - if(item!=null && item.isPrinted()){ + if(item!=null){ if(item.isOrderBy()){ yesItems.add(item); }else{ diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC4GroupingCriteriaPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC4GroupingCriteriaPanel.java index d9632c197b..50dd7de396 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC4GroupingCriteriaPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WRC4GroupingCriteriaPanel.java @@ -49,7 +49,7 @@ public class WRC4GroupingCriteriaPanel extends WRCTabPanel implements EventListe public void refresh() { orderfield = new ArrayList(); for(int i=0 ; i < m_pfi.size(); i++){ - if(m_pfi.get(i) != null && m_pfi.get(i).isOrderBy() && m_pfi.get(i).isPrinted()){ + if(m_pfi.get(i) != null && m_pfi.get(i).isOrderBy()){ orderfield.add(m_pfi.get(i)); } }