mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Command
- Added filter expression debug diagnostics.
This commit is contained in:
parent
2e0b7c8052
commit
49aadb7636
1 changed files with 6 additions and 0 deletions
|
@ -297,6 +297,9 @@ void Command::filter (const std::vector <Task>& input, std::vector <Task>& outpu
|
||||||
context.debug (t->dump ());
|
context.debug (t->dump ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string filterExpr = context.a3t.getFilterExpression ();
|
||||||
|
context.debug ("\033[1;37;42mFILTER\033[0m " + filterExpr);
|
||||||
|
|
||||||
if (filt.size ())
|
if (filt.size ())
|
||||||
{
|
{
|
||||||
E9 e (filt);
|
E9 e (filt);
|
||||||
|
@ -327,6 +330,9 @@ void Command::filter (std::vector <Task>& output)
|
||||||
context.debug (t->dump ());
|
context.debug (t->dump ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string filterExpr = context.a3t.getFilterExpression ();
|
||||||
|
context.debug ("\033[1;37;42mFILTER\033[0m " + filterExpr);
|
||||||
|
|
||||||
if (filt.size ())
|
if (filt.size ())
|
||||||
{
|
{
|
||||||
context.timer_filter.stop ();
|
context.timer_filter.stop ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue