Paging of User Issue List across repos does not change pagecount when applying filters #8993

Closed
opened 2025-11-02 08:25:04 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Mai-Lapyst on GitHub (May 24, 2022).

Description

When on the issue list that displays all issues open in your repositories, the pagination always uses the absolute issue count instead of only the issues currently visible due to filtering.

Gitea Version

1.16.8

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Screenshot from try.gitea.io:
image

Git Version

No response

Operating System

No response

How are you running Gitea?

binary installation from https://docs.gitea.io/en-us/install-from-binary/; also try.gitea.io

Database

MySQL

Originally created by @Mai-Lapyst on GitHub (May 24, 2022). ### Description When on the issue list that displays all issues open in your repositories, the pagination always uses the absolute issue count instead of only the issues currently visible due to filtering. ### Gitea Version 1.16.8 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots Screenshot from try.gitea.io: ![image](https://user-images.githubusercontent.com/67418776/169927399-cef04c27-c29d-4c3f-8439-d3389c0e35c0.png) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? binary installation from https://docs.gitea.io/en-us/install-from-binary/; also try.gitea.io ### Database MySQL
GiteaMirror added the type/bug label 2025-11-02 08:25:04 -06:00
Author
Owner

@Mai-Lapyst commented on GitHub (May 24, 2022):

Did a bit of diging and found the source of it: the problem is that the route only fills in the pagination with the total open/close count, but dosn't respect any selected repos: 4266bd924b/routers/web/user/home.go (L603-L610)

This should be an easy fix... will open an PR for this to fix it on master.

@Mai-Lapyst commented on GitHub (May 24, 2022): Did a bit of diging and found the source of it: the problem is that the route only fills in the pagination with the total open/close count, but dosn't respect any selected repos: https://github.com/go-gitea/gitea/blob/4266bd924bb8fff20271c17f8989b39b04ef6673/routers/web/user/home.go#L603-L610 This should be an easy fix... will open an PR for this to fix it on master.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8993