0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 18:23:58 +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 Show latest run when visit /run/latest (#31808) 2024-08-10 08:40:41 +08:00
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 Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
fixtures Fix agit automerge (#31207) 2024-08-20 14:17:21 +08:00
git Show lock owner instead of repo owner on LFS setting page (#31788) 2024-08-11 14:48:20 +00:00
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 Fixes for unreachable project issues when transfer repository from organization (#31770) 2024-08-13 02:53:43 +00:00
pull
repo Included tag search capabilities (#32045) 2024-09-18 02:33:11 +08:00
secret Clarify Actions resources ownership (#31724) 2024-08-01 09:04:04 +00:00
shared/types
system
unit Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
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_team_test.go
org_team.go
org_test.go
org.go
repo_test.go
repo_transfer.go
repo.go