Mycelium-Mod-Network / Modtoberfest-Site

The source for the Modtoberfest website frontend. Modtoberfest is an annual celebration of open source projects in the Minecraft community.
2 stars 12 forks source link

Issue counter on Repositories page also counts PRs #17

Closed AdamRaichu closed 1 month ago

AdamRaichu commented 2 months ago

The widget on the project card is labeled issues, but actually shows the combined count of issues and pull requests for the project.

image

image

jaredlll08 commented 1 month ago

Unfortunately I am just displaying the data that github's api provides for the open_issues_count.

I think the only way to resolve this would be to count the issues ourselves, which would require a lot more API requests per repo, which I don't think is feasible unfortunately.

If anyone who is more knowledgeable on the github API can chime in an tell me an easy way to get the data, I would appreciate it.