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:
@@ -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 ();
|
||||||
|
|||||||
Reference in New Issue
Block a user