From 22eeab384a4fd65609dfc496b71e67105baf7044 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 8 Jul 2021 16:07:58 +0800 Subject: [PATCH] * Change per_page value to 20. --- module/gitlab/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/gitlab/model.php b/module/gitlab/model.php index 991f7621cc..d7fa2b393e 100644 --- a/module/gitlab/model.php +++ b/module/gitlab/model.php @@ -560,11 +560,11 @@ class gitlabModel extends model // TODO(dingguodong) not pagination yet. if($options) { - $url = sprintf($this->getApiRoot($gitlabID), "/projects/{$projectID}/issues") . '&per_page=100' . $options; + $url = sprintf($this->getApiRoot($gitlabID), "/projects/{$projectID}/issues") . '&per_page=20' . $options; } else { - $url = sprintf($this->getApiRoot($gitlabID), "/projects/{$projectID}/issues") . '&per_page=100'; + $url = sprintf($this->getApiRoot($gitlabID), "/projects/{$projectID}/issues") . '&per_page=20'; } return json_decode(commonModel::http($url)); }