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:
Christian Stenger
2024-01-25 11:16:42 +01:00
parent eec7339af3
commit 7c246f025c
3 changed files with 19 additions and 2 deletions

View File

@@ -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;
}