Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #320 from ericsium/sort_issue
Browse files Browse the repository at this point in the history
Fix bug with sorting default string case
  • Loading branch information
ericsium committed Apr 30, 2016
2 parents a064252 + 86ed092 commit 6b846d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/column.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ std::tuple<QVariant, QVariant, const Item&> Column::multivalue(const Item* item)
sort_first_by = item->PrettyName().c_str();
sort_second_by = match.captured(1).toDouble();
}
} else {
sort_first_by = str;
sort_second_by = item->PrettyName().c_str();
}

return std::forward_as_tuple(sort_first_by, sort_second_by, *item);
Expand Down

0 comments on commit 6b846d8

Please sign in to comment.