Skip to content
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

Incorrect projects count on hosted weblate homepage for anonymous user #12081

Closed
2 tasks done
gersona opened this issue Jul 18, 2024 · 2 comments · Fixed by #12120
Closed
2 tasks done

Incorrect projects count on hosted weblate homepage for anonymous user #12081

gersona opened this issue Jul 18, 2024 · 2 comments · Fixed by #12120
Assignees
Labels
bug Something is broken.
Milestone

Comments

@gersona
Copy link
Collaborator

gersona commented Jul 18, 2024

Describe the issue

The number of projects displayed at the bottom of the homepage doesn't match the actual number of projects an anonymous user can browse.
Currently, it says there are 1400+ projects , but when we click on the button, the paginator only displays 12 pages available (with a limit of 100 projects per page), which add up only to 1200 projects at most

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

1 - Go to https://hosted.weblate.org/ as an anonymous user and click the "Browse all [number] projects"
2 - You will be navigate to the https://hosted.weblate.org/projects/ url, and scroll to the bottom of the page where the paginator is located
3 - notice the discrepancy between the pages available and the initial number of projects

Expected behavior

The number in the "Browse all [number] projects" should match the actual number of projects a user can browse through

Screenshots

Capture d’écran 2024-07-18 à 08 51 21 Capture d’écran 2024-07-18 à 08 53 46

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

@nijel
Copy link
Member

nijel commented Jul 18, 2024

There are some not publicly accessible projects, this should be easy to fix :-).

@nijel nijel added the bug Something is broken. label Jul 18, 2024
@nijel nijel added this to the 5.7 milestone Jul 18, 2024
@gersona gersona mentioned this issue Jul 24, 2024
5 tasks
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants