IDEMPIERE-1135 Report wizard not clearing order items
This commit is contained in:
parent
2fb07c0bb8
commit
c2c4bd8215
|
@ -175,7 +175,7 @@ public class WRC3SortCriteriaPanel extends WRCTabPanel implements EventListener
|
||||||
noItems =new ArrayList<MPrintFormatItem>();
|
noItems =new ArrayList<MPrintFormatItem>();
|
||||||
for(int i=0 ; i< m_pfi.size();i++){
|
for(int i=0 ; i< m_pfi.size();i++){
|
||||||
MPrintFormatItem item = m_pfi.get(i);
|
MPrintFormatItem item = m_pfi.get(i);
|
||||||
if(item!=null && item.isPrinted()){
|
if(item!=null){
|
||||||
if(item.isOrderBy()){
|
if(item.isOrderBy()){
|
||||||
yesItems.add(item);
|
yesItems.add(item);
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class WRC4GroupingCriteriaPanel extends WRCTabPanel implements EventListe
|
||||||
public void refresh() {
|
public void refresh() {
|
||||||
orderfield = new ArrayList<MPrintFormatItem>();
|
orderfield = new ArrayList<MPrintFormatItem>();
|
||||||
for(int i=0 ; i < m_pfi.size(); i++){
|
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));
|
orderfield.add(m_pfi.get(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue