Report wizard not clearing order items

Description

When copying a print format already ordered - the report wizard is not saving properly the new definition of the sort/grouping column.

I've seen the behavior twice in custom print formats, the test case is like defining a print format with an order/grouping column, copy the print format and try to change the order/grouping column. The result is a report where the grouping is not respected.

Probably the report wizard or MPrintFormatItem needs to clear the orderby and grouping flags when the field is not being displayed.

Regards,

Carlos Ruiz

Environment

None

Status

Assignee

Carlos Ruiz

Reporter

Carlos Ruiz

Labels

None

Tested By

None

Priority

Major
Configure