0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-02-17 22:51:56 +01:00
gitea/models
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
..
actions
activities Repo Activity: count new issues that were closed (#31776) 2024-09-21 18:57:01 +00:00
admin
asymkey bump to go 1.23 (#31855) 2024-09-10 02:23:07 +00:00
auth Fix nuget/conan/container packages upload bugs (#31967) 2024-09-05 07:05:42 +00:00
avatars
db bump to go 1.23 (#31855) 2024-09-10 02:23:07 +00:00
dbfs
fixtures
git
issues Resolve duplicate local string key related to PR comments (#32073) 2024-09-18 19:46:41 +00:00
migrations bump to go 1.23 (#31855) 2024-09-10 02:23:07 +00:00
organization Add option to filter board cards by labels and assignees (#31999) 2024-09-12 03:53:40 +00:00
packages
perm
project
pull
repo Included tag search capabilities (#32045) 2024-09-18 02:33:11 +08:00
secret
shared/types
system
unit
unittest
user Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go