Skip to content

The "all" count on a user's Pull Requests page is misleading #20574

Closed
@parnic

Description

@parnic

Description

When clicking around on the PRs from a user's Pull Requests page (the button in the main site header, e.g.: https://try.gitea.io/pulls), "All" is selected by default and shows the total count of all PRs in all repos.

image

Clicking on one of the repos, however, causes the "All" count to change to whatever is highlighted instead of showing the composite total:

image

image

image

I feel like All was always showing the total count in 1.16.9, but is exhibiting this behavior in 1.17.0. I am not sure if All is supposed to indicate "the number we're showing you based on your selection" or "the number we'd be showing you if you clicked on this". I tend to assume it should be the latter based on how the individual repos behave.

Gitea Version

1.17.0, 1.18.0+dev-193-g335e918b1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Git Version

2.37.1

Operating System

Linux

How are you running Gitea?

Ubuntu apt package

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions