IDEMPIERE-1135 Report wizard not clearing order items

This commit is contained in:
Carlos Ruiz 2015-04-08 15:32:07 -05:00
parent 2fb07c0bb8
commit c2c4bd8215
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ public class WRC3SortCriteriaPanel extends WRCTabPanel implements EventListener
noItems =new ArrayList<MPrintFormatItem>();
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{

View File

@ -49,7 +49,7 @@ public class WRC4GroupingCriteriaPanel extends WRCTabPanel implements EventListe
public void refresh() {
orderfield = new ArrayList<MPrintFormatItem>();
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));
}
}