Skip to content

Broken organization request counter? It's showing a number inconsistent with the rendered list #15693

@webknjaz

Description

@webknjaz

Describe the bug

On https://pypi.org/manage/organizations/, I see "Your organizations 3" with the correct counter and 3 organizations listed in that section. However, the following section is titled "Pending organization requests 3" and it only lists 1 request despite the counter saying it's 3.

Expected behavior

The counter should correspond to the number of requests actually listed.

To Reproduce

🤷‍♂️

My Platform

N/A

Additional context

I thought that maybe the counters are rendered from the same variable but I checked the template and it's coming from different vars.

I think I had more organization requests in the past (like CherryPy) that were rejected asking the project owner (with the same name) to resubmit them. So they disappeared from my interface (I think I only have some email traces in the inbox). Perhaps, they contribute the that counter somehow. That would explain it, if the counter adds the rejected/discarded/revoked requests to the overall counter value...

Metadata

Metadata

Assignees

No one assigned

    Labels

    HTMLrequires change to HTML filesUX/UIdesign, user experience, user interfacebug 🐛data qualityorganizationsrequires triagingmaintainers need to do initial inspection of issue

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions