- Fixed bug #964, where the 'projects' command showed the wrong priority labels
  (thanks to Ali Mousavi).
This commit is contained in:
Paul Beckingham 2012-04-06 18:55:26 -04:00
parent 6090330d7a
commit dd73cc1ccf
3 changed files with 5 additions and 2 deletions

View file

@ -130,4 +130,5 @@ suggestions:
Philipp Woelfel
Tuomas Toivola
Adam Gibbins
Ali Mousavi

View file

@ -9,6 +9,8 @@ Features
+ The 'summary' report now uses 'project.indented' format.
Bugs
+ Fixed bug #964, where the 'projects' command showed the wrong priority labels
(thanks to Ali Mousavi).
+ Fixed grammar in feedback string (thanks to Uli Martens).
+ Addressed valgrind complaints (thanks to Bryce Harrington).
+ Removed default configuration value for the obsolete 'annotations' setting.

View file

@ -109,9 +109,9 @@ int CmdProjects::execute (std::string& output)
view.add (Column::factory ("string", STRING_COLUMN_LABEL_PROJECT));
view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_TASKS));
view.add (Column::factory ("string.right", STRING_CMD_PROJECTS_PRI_N));
view.add (Column::factory ("string.right", STRING_CMD_PROJECTS_PRI_H));
view.add (Column::factory ("string.right", STRING_CMD_PROJECTS_PRI_M));
view.add (Column::factory ("string.right", STRING_CMD_PROJECTS_PRI_L));
view.add (Column::factory ("string.right", STRING_CMD_PROJECTS_PRI_M));
view.add (Column::factory ("string.right", STRING_CMD_PROJECTS_PRI_H));
std::map <std::string, int>::iterator project;
for (project = unique.begin (); project != unique.end (); ++project)