gitea/models/organization
Admin 85d73a2d85
Some checks failed
Build and Release / Create Release (push) Has been skipped
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 1m41s
Build and Release / Lint (push) Failing after 2m0s
Build and Release / Build Binaries (amd64, darwin) (push) Has been skipped
Build and Release / Build Binaries (amd64, linux) (push) Has been skipped
Build and Release / Build Binaries (amd64, windows) (push) Has been skipped
Build and Release / Build Binaries (arm64, darwin) (push) Has been skipped
Build and Release / Build Binaries (arm64, linux) (push) Has been skipped
Build and Release / Unit Tests (push) Successful in 2m1s
fix: org overview stats field names and add star count
- Rename OrgOverviewStats fields to match template expectations
- Add TotalStars field to show aggregate star count
- Add CountOrgRepoStars function to repo model
- Fix API struct and handler to use new field names

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 02:30:54 +00:00
..
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
org_list_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
org_list.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
org_pinned.go fix: resolve golangci-lint errors (batch 1) 2026-01-09 17:46:44 -05:00
org_profile.go fix: org overview stats field names and add star count 2026-01-11 02:30:54 +00:00
org_test.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
org_user_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
org_user.go Fix team permission (#34128) 2025-04-08 04:15:15 +00:00
org_worktime.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
org.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
team_invite_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_list_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_list.go Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779) 2025-03-04 18:25:20 +00:00
team_repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_repo.go Fix team member access check (#35899) 2025-11-09 03:13:31 +00:00
team_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_unit.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
team_user.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
team.go Fix team permission (#34128) 2025-04-08 04:15:15 +00:00