mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug #485
- Fixed bug #485, which caused filters of 'recur' to fail for partial matches (thanks to T. Charles Yun).
This commit is contained in:
parent
b2828b9702
commit
691931adf9
2 changed files with 17 additions and 0 deletions
|
@ -49,6 +49,8 @@
|
||||||
status (thanks to Steve Rader).
|
status (thanks to Steve Rader).
|
||||||
+ Fixed bug that caused entry, end, start and wait dates to not use report-
|
+ Fixed bug that caused entry, end, start and wait dates to not use report-
|
||||||
specific date format overrides (thanks to Eric Fluger).
|
specific date format overrides (thanks to Eric Fluger).
|
||||||
|
+ Fixed bug #485, which caused filters of 'recur' to fail for partial matches
|
||||||
|
(thanks to T. Charles Yun).
|
||||||
+ Fixed bug #515, which displayed an incorrect message after duplicating a
|
+ Fixed bug #515, which displayed an incorrect message after duplicating a
|
||||||
non-existent task (thanks to Peter De Poorter).
|
non-existent task (thanks to Peter De Poorter).
|
||||||
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the
|
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the
|
||||||
|
|
|
@ -853,6 +853,21 @@ void Context::autoFilter (Att& a, Filter& f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Recurrence periods are matched left-most.
|
||||||
|
else if (a.name () == "recur" && a.mod () == "")
|
||||||
|
{
|
||||||
|
if (a.value () != "")
|
||||||
|
{
|
||||||
|
f.push_back (Att ("recur", "startswith", a.value ()));
|
||||||
|
debug ("auto filter: " + a.name () + ".startswith:" + a.value ());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
f.push_back (Att ("recur", "is", a.value ()));
|
||||||
|
debug ("auto filter: " + a.name () + ".is:" + a.value ());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// The limit attribute does not participate in filtering, and needs to be
|
// The limit attribute does not participate in filtering, and needs to be
|
||||||
// specifically handled in handleCustomReport.
|
// specifically handled in handleCustomReport.
|
||||||
else if (a.name () == "limit")
|
else if (a.name () == "limit")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue