[PR #919] [MERGED] Small optimization for getTeamIDs #15653

Closed
opened 2025-11-02 11:51:35 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/919
Author: @lunny
Created: 2/13/2017
Status: Merged
Merged: 2/14/2017
Merged by: @lunny

Base: masterHead: lunny/small_optimization_getTeamIDs


📝 Commits (2)

  • 89b1a2a small optimization for getTeamIDs
  • bb62253 rename getOrgTeamIDs to getUserTeamIDs and remove orderby

📊 Changes

2 files changed (+13 additions, -10 deletions)

View changed files

📝 models/models.go (+1 -0)
📝 models/org.go (+12 -10)

📄 Description

The latest XORM has supported only Find IDs. So let's use the new method.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/919 **Author:** [@lunny](https://github.com/lunny) **Created:** 2/13/2017 **Status:** ✅ Merged **Merged:** 2/14/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `lunny/small_optimization_getTeamIDs` --- ### 📝 Commits (2) - [`89b1a2a`](https://github.com/go-gitea/gitea/commit/89b1a2a508267b6fa7f95f982bbb567b22caf6b1) small optimization for getTeamIDs - [`bb62253`](https://github.com/go-gitea/gitea/commit/bb6225317f38a7e58a96304670754cbf3f66c6ea) rename getOrgTeamIDs to getUserTeamIDs and remove orderby ### 📊 Changes **2 files changed** (+13 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `models/models.go` (+1 -0) 📝 `models/org.go` (+12 -10) </details> ### 📄 Description The latest XORM has supported only Find IDs. So let's use the new method. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:51:35 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15653