mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Use filter IntervalFilterFirstOf in CmdContinue
Relates to #468 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
244b351118
commit
9cd693d55d
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@
|
|||
#include <cassert>
|
||||
#include <IntervalFilterAllWithIds.h>
|
||||
#include <IntervalFilterAllWithTags.h>
|
||||
#include <IntervalFilterFirstOf.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdContinue (
|
||||
|
@ -77,7 +78,7 @@ int CmdContinue (
|
|||
}
|
||||
else if (!filter.tags ().empty ())
|
||||
{
|
||||
auto filtering = IntervalFilterAllWithTags (filter.tags());
|
||||
auto filtering = IntervalFilterFirstOf { new IntervalFilterAllWithTags (filter.tags ())};
|
||||
auto tracked = getTracked (database, rules, filtering);
|
||||
|
||||
if (tracked.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue