mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 06:10:36 +02:00
Bug #1110
- Fixed bug #1110, which did not treat 'status:Completed' the same as 'status:completed' (thanks to Aikido Guy).
This commit is contained in:
parent
28523e97c6
commit
0f4a366752
3 changed files with 67 additions and 2 deletions
|
@ -533,6 +533,14 @@ void E9::operator_equal (
|
|||
: "false";
|
||||
}
|
||||
|
||||
// Case-insensitive comparison for status. Fixes #1110.
|
||||
else if (left._raw == "status")
|
||||
{
|
||||
result._value = compare (left._value, right._value, false)
|
||||
? "true"
|
||||
: "false";
|
||||
}
|
||||
|
||||
// Regular equality matching.
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue