IDEMPIERE-3912 Report customization sort criteria moving down up make sort no. as 0 and doesnt sort properly / Fix suggested by Pritesh Shah
This commit is contained in:
parent
f42859d5e4
commit
e3f84efcb0
|
@ -417,7 +417,7 @@ public class WRC3SortCriteriaPanel extends WRCTabPanel implements EventListener
|
||||||
targetPI = m_pfi.indexOf(getPrintFormatItem(newObject.m_key));
|
targetPI = m_pfi.indexOf(getPrintFormatItem(newObject.m_key));
|
||||||
updateSortNo (selectedPI,targetPI);
|
updateSortNo (selectedPI,targetPI);
|
||||||
|
|
||||||
yesItems.get(index).setSortNo(yesItems.get(index).getSortNo()-10);
|
yesItems.get(index).setSortNo(yesItems.get(index).getSortNo());
|
||||||
orig = yesItems.get(index);
|
orig = yesItems.get(index);
|
||||||
yesItems.get(index - 1).setSeqNo(yesItems.get(index - 1).getSeqNo()+10);
|
yesItems.get(index - 1).setSeqNo(yesItems.get(index - 1).getSeqNo()+10);
|
||||||
yesItems.set(index, yesItems.get(index-1));
|
yesItems.set(index, yesItems.get(index-1));
|
||||||
|
|
Loading…
Reference in New Issue