mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 18:06:42 +02:00
Bug
- Fixed a bug so that the report filter order is preserved, to enable an optimization that was being skipped.
This commit is contained in:
parent
f420fb434e
commit
2b8cb3e251
2 changed files with 5 additions and 2 deletions
|
@ -136,6 +136,8 @@ Bugs
|
||||||
(thanks to Rainer Müller).
|
(thanks to Rainer Müller).
|
||||||
+ Fixed hook tests to work on released code (thanks to Jakub Wilk).
|
+ Fixed hook tests to work on released code (thanks to Jakub Wilk).
|
||||||
+ Fixed bug where arguments passed to 'task execute' needed double escaping.
|
+ Fixed bug where arguments passed to 'task execute' needed double escaping.
|
||||||
|
+ Fixed a bug so that the report filter order is preserved, to enable an
|
||||||
|
optimization that was being skipped.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|
|
@ -86,11 +86,12 @@ int CmdCustom::execute (std::string& output)
|
||||||
// Prepend the argument list with those from the report filter.
|
// Prepend the argument list with those from the report filter.
|
||||||
std::vector <std::string> filterArgs;
|
std::vector <std::string> filterArgs;
|
||||||
splitq (filterArgs, reportFilter, ' ');
|
splitq (filterArgs, reportFilter, ' ');
|
||||||
std::vector <std::string>::iterator arg;
|
std::vector <std::string>::reverse_iterator arg;
|
||||||
for (arg = filterArgs.begin (); arg != filterArgs.end (); ++ arg)
|
for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg)
|
||||||
context.a3.capture_first (*arg);
|
context.a3.capture_first (*arg);
|
||||||
|
|
||||||
context.a3.categorize ();
|
context.a3.categorize ();
|
||||||
|
context.a3.dump ("A3::categorize");
|
||||||
|
|
||||||
// Load the data.
|
// Load the data.
|
||||||
handleRecurrence ();
|
handleRecurrence ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue