forked from qt-creator/qt-creator
Axivion: Start handling total row counts
Include them only for the first fetch of an issue kind to avoid costly additional access. Change-Id: Icebbea5635b1f1d266238f99c43426dc22fb19b9 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -74,6 +74,8 @@ QString IssueListSearch::toQuery() const
|
||||
QString result;
|
||||
result.append(QString("?kind=%1&offset=%2&limit=%3").arg(kind).arg(offset).arg(limit));
|
||||
// TODO other params
|
||||
if (computeTotalRowCount)
|
||||
result.append("&computeTotalRowCount=true");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user