mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 18:29:40 +00:00
51fab30187
Closes #1789. The bug was due to the fact that GitLab does not guarantee that issue numbers are created sequentially: some identifiers can be skipped. Therefore, the new pull requests numbers should not be offset by the number of issues, but by the maximum issue number. See for instance https://gitlab.com/troyengel/archbuild/-/issues/?sort=created_date&state=all&first_page_size=20, where there is only a singe issue with number "2". Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1790 Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu> Co-committed-by: Antonin Delpeuch <antonin@delpeuch.eu> (cherry picked from commit |
||
---|---|---|
.. | ||
_api_v4_projects_6590996 | ||
_api_v4_projects_6590996_issues!page=1&per_page=10&sort=asc&state=all | ||
_api_v4_projects_6590996_issues_2_award_emoji!page=1&per_page=10 | ||
_api_v4_projects_6590996_merge_requests!page=1&per_page=10&view=simple | ||
_api_v4_projects_6590996_merge_requests_1 | ||
_api_v4_projects_6590996_merge_requests_1_award_emoji!page=1&per_page=10 | ||
_api_v4_projects_troyengel%2Farchbuild | ||
_api_v4_version |