Don't sort or subtotal xacts for account reports
This commit is contained in:
parent
bef9fdc471
commit
26ddb8343c
1 changed files with 20 additions and 20 deletions
|
|
@ -80,6 +80,7 @@ xact_handler_ptr chain_xact_handlers(report_t& report,
|
|||
handler.reset(new filter_xacts(handler, only_predicate, report));
|
||||
}
|
||||
|
||||
if (! only_preliminaries) {
|
||||
// sort_xacts will sort all the xacts it sees, based on the `sort_order'
|
||||
// value expression.
|
||||
if (report.HANDLED(sort_)) {
|
||||
|
|
@ -89,7 +90,6 @@ xact_handler_ptr chain_xact_handlers(report_t& report,
|
|||
handler.reset(new sort_xacts(handler, report.HANDLER(sort_).str()));
|
||||
}
|
||||
|
||||
if (! only_preliminaries) {
|
||||
// changed_value_xacts adds virtual xacts to the list to account for
|
||||
// changes in market value of commodities, which otherwise would affect
|
||||
// the running total unpredictably.
|
||||
|
|
@ -104,7 +104,6 @@ xact_handler_ptr chain_xact_handlers(report_t& report,
|
|||
handler.reset(new collapse_xacts(handler, expr,
|
||||
display_predicate, only_predicate,
|
||||
report.HANDLED(collapse_if_zero)));
|
||||
}
|
||||
|
||||
// subtotal_xacts combines all the xacts it receives into one subtotal
|
||||
// entry, which has one xact for each commodity in each account.
|
||||
|
|
@ -116,6 +115,7 @@ xact_handler_ptr chain_xact_handlers(report_t& report,
|
|||
// that fall on each subsequent day of the week.
|
||||
if (report.HANDLED(subtotal))
|
||||
handler.reset(new subtotal_xacts(handler, expr));
|
||||
}
|
||||
|
||||
if (report.HANDLED(dow))
|
||||
handler.reset(new dow_xacts(handler, expr));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue