Skip to content

Addons: don't return any version when project is "single version" #10680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
humitos opened this issue Aug 29, 2023 · 0 comments · Fixed by #10686
Closed

Addons: don't return any version when project is "single version" #10680

humitos opened this issue Aug 29, 2023 · 0 comments · Fixed by #10686
Assignees
Labels
Accepted Accepted issue on our roadmap Bug A bug

Comments

@humitos
Copy link
Member

humitos commented Aug 29, 2023

If you go to https://pycamp.es/ you will see the flyout shows two versions: latest and 2022. However, this project is marked as "Single version". If you click on them, they give you 404 URLs.

"versions": [
{
# TODO: name this field "display_name"
"slug": version.slug,
"url": f"/{project.language}/{version.slug}/",
}
for version in versions_active_built_not_hidden
],

@humitos humitos added Bug A bug Accepted Accepted issue on our roadmap labels Aug 29, 2023
@humitos humitos self-assigned this Aug 29, 2023
@github-project-automation github-project-automation bot moved this to Planned in 📍Roadmap Aug 29, 2023
@humitos humitos moved this from Planned to Needs review in 📍Roadmap Aug 30, 2023
@github-project-automation github-project-automation bot moved this from Needs review to Done in 📍Roadmap Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Bug A bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant