mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1444
- TW-1444 Tag ordering is preserved, but should be sorted in reports.
This commit is contained in:
parent
da8e16a38b
commit
8ff32b767f
2 changed files with 9 additions and 1 deletions
|
@ -174,6 +174,7 @@
|
|||
- TW-1436 Parser hangs when multiple slashes are used.
|
||||
- TW-1437 taskd.trust has a bad default value.
|
||||
- TW-1441 task import continues happily if filename doesn't exist.
|
||||
- TW-1444 Tag ordering is preserved, but should be sorted in reports.
|
||||
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
|
||||
'affected' verbosity tokens.
|
||||
- Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity
|
||||
|
|
|
@ -123,7 +123,14 @@ void ColumnTags::render (
|
|||
if (_style == "default" ||
|
||||
_style == "list")
|
||||
{
|
||||
std::replace (tags.begin (), tags.end (), ',', ' ');
|
||||
std::vector <std::string> allTags;
|
||||
split (allTags, tags, ',');
|
||||
if (allTags.size () > 1)
|
||||
{
|
||||
std::sort (allTags.begin (), allTags.end ());
|
||||
join (tags, " ", allTags);
|
||||
}
|
||||
|
||||
std::vector <std::string> all;
|
||||
wrapText (all, tags, width, _hyphenate);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue