data: Described range override in getTrackedIntervals

This commit is contained in:
Paul Beckingham 2016-04-28 23:43:46 -04:00
parent 9840faa9ed
commit b697515b6f

View file

@ -521,6 +521,11 @@ std::vector <Interval> getTrackedIntervals (
{ {
auto inclusions = getAllInclusions (database); auto inclusions = getAllInclusions (database);
// Exclusions are only usable within a range, so if no filter range exists,
// determine the outermost range of the inclusions, ie:
//
// [earliest start, latest end)
//
if (! filter.range.started ()) if (! filter.range.started ())
filter.range = outerRange (inclusions); filter.range = outerRange (inclusions);