summaryrefslogtreecommitdiffstats
path: root/files/redmine/reminder/redmine-remind
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-03-13 10:10:20 +0000
committerintrigeri <intrigeri@boum.org>2019-03-13 10:11:03 +0000
commit3e94048f229ee9f8748e3698fc5213740f9f4144 (patch)
treeab54cd848a5132226049d90acc78d507a15fabb4 /files/redmine/reminder/redmine-remind
parent22c99ef497ce7c313d0b0bd235c82577349cd819 (diff)
redmine-remind: return more complete results by raising the number of issues we fetch (refs: #16544).
Diffstat (limited to 'files/redmine/reminder/redmine-remind')
-rwxr-xr-xfiles/redmine/reminder/redmine-remind4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/redmine/reminder/redmine-remind b/files/redmine/reminder/redmine-remind
index e4b3a87..dcbd011 100755
--- a/files/redmine/reminder/redmine-remind
+++ b/files/redmine/reminder/redmine-remind
@@ -21,9 +21,9 @@ class Redmine:
self.api_key = api_key
def query(self, api, **kw):
- url = urljoin(self.server, api)
+ url = urljoin(self.server, api) + "?limit=200"
if kw:
- url += "?" + urlencode(kw)
+ url += "&" + urlencode(kw)
log.info("Querying %s", url)
res = requests.get(url, headers={
"X-Redmine-API-Key": self.api_key