Actions
Bug #3370
closedcurrentGroup / currentGroupingKey
Start date:
2017-08-06
Due date:
% Done:
100%
Estimated time:
Applies to JS Branch:
1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
In the for-each-group code (compare.js line 966) appears:
unsortedGroupIter.forEachItem(function (groupInfo, pos) {
groupInfo.sortKeys =
sortKeys.map(function (s) {
var f = unsortedGroupContext.focus;
f.current = groupInfo.group[0];
f.position = pos + 1;
f.currentGroup = groupInfo.group;
f.currentGroupingKey = groupInfo.key;
return Expr.evalChild1(s, unsortedGroupContext).next();
});
});
This is putting currentGroup and currentGroupingKey into the Tracker object (which is an iterator). However, in Expr.js line 472 and 480, we always get the values of currentGroup and currentGroupingKey from the Context object itself, not from the Tracker.
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page