summaryrefslogtreecommitdiff
path: root/walk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'walk.cc')
-rw-r--r--walk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/walk.cc b/walk.cc
index 32c165c2..7cba3bb5 100644
--- a/walk.cc
+++ b/walk.cc
@@ -17,12 +17,14 @@ bool compare_items<transaction_t>::operator()(const transaction_t * left,
transaction_xdata_t& lxdata(transaction_xdata(*left));
if (! (lxdata.dflags & TRANSACTION_SORT_CALC)) {
guarded_compute(sort_order, lxdata.sort_value, details_t(*left));
+ lxdata.sort_value.reduce();
lxdata.dflags |= TRANSACTION_SORT_CALC;
}
transaction_xdata_t& rxdata(transaction_xdata(*right));
if (! (rxdata.dflags & TRANSACTION_SORT_CALC)) {
guarded_compute(sort_order, rxdata.sort_value, details_t(*right));
+ rxdata.sort_value.reduce();
rxdata.dflags |= TRANSACTION_SORT_CALC;
}