manager: Fix pagination limit for issue list
It turns out that `None` does not disable pagination, it just uses the default limit. Set an obscenely high limit to ensure we get the full list.
This commit is contained in:
parent
e418d9d720
commit
34e9a99d61
|
@ -13,7 +13,7 @@ pub async fn collect_tree(
|
||||||
// We also want the closed issues
|
// We also want the closed issues
|
||||||
state: Some(forgejo_api::structs::IssueListIssuesQueryState::All),
|
state: Some(forgejo_api::structs::IssueListIssuesQueryState::All),
|
||||||
// No pagination
|
// No pagination
|
||||||
limit: None,
|
limit: Some(10000),
|
||||||
// Only issues
|
// Only issues
|
||||||
r#type: Some(forgejo_api::structs::IssueListIssuesQueryType::Issues),
|
r#type: Some(forgejo_api::structs::IssueListIssuesQueryType::Issues),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
@ -49,7 +49,7 @@ pub async fn collect_tree(
|
||||||
&meta.issue.repository.name,
|
&meta.issue.repository.name,
|
||||||
&issue.to_string(),
|
&issue.to_string(),
|
||||||
forgejo_api::structs::IssueListIssueDependenciesQuery {
|
forgejo_api::structs::IssueListIssueDependenciesQuery {
|
||||||
limit: None,
|
limit: Some(10000),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue