Merge branch 'sprint/devops16_17301' into 'sprint/devops16'

* Fix bug#17301

See merge request easycorp/zentaopms!894
This commit is contained in:
李玉春
2021-12-13 03:27:31 +00:00
+1 -1
View File
@@ -620,7 +620,7 @@ class gitlabModel extends model
$order = explode('_', $orderBy);
$keyword = urlencode($keyword);
$result = commonModel::httpWithHeader($host . "?private_token={$gitlab->token}&simple=true&&per_page={$pager->recPerPage}&order_by={$order[0]}&sort={$order[1]}&page={$pager->pageID}&search={$keyword}");
$result = commonModel::httpWithHeader($host . "?private_token={$gitlab->token}&simple=true&&per_page={$pager->recPerPage}&order_by={$order[0]}&sort={$order[1]}&page={$pager->pageID}&search={$keyword}&search_namespaces=true");
$header = $result['header'];
$recTotal = $header['X-Total'];