Bug - limit
- When the 'limit:N' filter was used, a confusing message was displayed, especially when there were fewer filtered tasks that the limit.
This commit is contained in:
@@ -659,8 +659,8 @@ int handleCustomReport (const std::string& report, std::string &outs)
|
||||
if (maxrows)
|
||||
out << ", " << maxrows << " shown";
|
||||
|
||||
if (maxlines < table.rowCount ())
|
||||
out << ", truncated to " << maxlines-1 << " lines";
|
||||
if (maxlines && maxlines < table.rowCount ())
|
||||
out << ", truncated to " << maxlines - 1 << " lines";
|
||||
|
||||
out << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user