data: getTracked now obeys filters

This commit is contained in:
Paul Beckingham 2016-05-16 08:32:18 -05:00
parent 42074afc8f
commit 59dd340c3f

View file

@ -578,7 +578,7 @@ std::vector <Interval> getTracked (
const Rules& rules, const Rules& rules,
Interval& filter) Interval& filter)
{ {
auto inclusions = getAllInclusions (database); auto inclusions = subset (filter, getAllInclusions (database));
// Exclusions are only usable within a range, so if no filter range exists, // Exclusions are only usable within a range, so if no filter range exists,
// determine the outermost range of the inclusions, ie: // determine the outermost range of the inclusions, ie: