1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-18 06:33:44 -04:00
gitea/models/activities
Timon van der Berg ebfde84529
Repo Activity: count new issues that were closed (#31776)
I'm new to go and contributing to gitea, your guidance is much
appreciated.

This is meant to solve https://github.com/go-gitea/gitea/issues/13309

Previously, closed issues would not be shown under new issues in the
activity tab, even if they were newly created.

changes:
* Split out newlyCreatedIssues from issuesForActivityStatement to count
  both currently open and closed issues.
* Use a seperate function to count active issues to prevent
double-counting issues after the above change.

Result is that new issues that have been closed are shown both under
"new" and "closed".

Signed-off-by: Timon van der Berg <tmnvanderberg@gmail.com>
2024-09-21 18:57:01 +00:00
..
action_list.go
action_test.go
action.go Improve get feed with pagination (#31821) 2024-09-02 19:05:09 +00:00
main_test.go
notification_list.go
notification_test.go
notification.go
repo_activity.go Repo Activity: count new issues that were closed (#31776) 2024-09-21 18:57:01 +00:00
statistic.go
user_heatmap_test.go
user_heatmap.go