From dd73cc1ccf7f5ca44527e8432cdfe6a3f9fc7a24 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 6 Apr 2012 18:55:26 -0400 Subject: [PATCH] Bug #964 - Fixed bug #964, where the 'projects' command showed the wrong priority labels (thanks to Ali Mousavi). --- AUTHORS | 1 + ChangeLog | 2 ++ src/commands/CmdProjects.cpp | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index d07e76446..ec985878a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -130,4 +130,5 @@ suggestions: Philipp Woelfel Tuomas Toivola Adam Gibbins + Ali Mousavi diff --git a/ChangeLog b/ChangeLog index 69856bb10..25572d1da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/src/commands/CmdProjects.cpp b/src/commands/CmdProjects.cpp index 22885f646..63dbf9844 100644 --- a/src/commands/CmdProjects.cpp +++ b/src/commands/CmdProjects.cpp @@ -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 ::iterator project; for (project = unique.begin (); project != unique.end (); ++project)