mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
data: Described range override in getTrackedIntervals
This commit is contained in:
parent
9840faa9ed
commit
b697515b6f
1 changed files with 5 additions and 0 deletions
|
@ -521,6 +521,11 @@ std::vector <Interval> getTrackedIntervals (
|
|||
{
|
||||
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 ())
|
||||
filter.range = outerRange (inclusions);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue