mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
DOM: Implement special-cased status handling
This is required for status:pending filters not matching the tasks with the virutal waiting tag.
This commit is contained in:
parent
7d81eadd5a
commit
582bee66e9
1 changed files with 8 additions and 0 deletions
|
@ -330,6 +330,14 @@ bool getDOM (const std::string& name, const Task& task, Variant& value)
|
|||
return true;
|
||||
}
|
||||
|
||||
// Special handling of status required for virtual waiting status
|
||||
// implementation
|
||||
if (ref.data.size () && size == 1 && canonical == "status")
|
||||
{
|
||||
value = Variant (ref.statusToText (ref.getStatus ()));
|
||||
return true;
|
||||
}
|
||||
|
||||
Column* column = Context::getContext ().columns[canonical];
|
||||
|
||||
if (ref.data.size () && size == 1 && column)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue