[PR #49] [CLOSED] Ordering organizations and users by name #15113

Closed
opened 2025-11-02 11:39:09 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/49
Author: @thibaultmeyer
Created: 11/3/2016
Status: Closed

Base: masterHead: feature/3845-ordering-org-user


📝 Commits (10+)

  • cc1e822 Small UI fixes on full width form titles
  • c5f3692 Use proper url for libravatar dep
  • e683dee Fix sender of issue notifications
  • a006984 config lgtm to disable maintainer to LGTM himself's PR
  • 42883f2 Fix SHA regexp and commit comparisons
  • e8b45fe Restore whitespace
  • ac93682 Change import reference to match gitea instead of gogs (#37)
  • 2fbebad Badges and travis testing (#40)
  • cd255db Ordering organizations and user accounts by name
  • da9cb6a Show issue/PR number on title

📊 Changes

820 files changed (+504861 additions, -2325 deletions)

View changed files

.bra.toml (+0 -19)
.codebeatignore (+0 -7)
.codebeatsettings (+0 -7)
📝 .editorconfig (+3 -0)
📝 .github/CONTRIBUTING.md (+3 -3)
📝 .github/PULL_REQUEST_TEMPLATE.md (+1 -1)
📝 .gitignore (+35 -18)
.gopmfile (+0 -59)
.lgtm (+1 -0)
.pkgr.yml (+0 -27)
📝 .travis.yml (+19 -15)
CONTRIBUTING.md (+127 -0)
CONTRIBUTORS (+9 -0)
DCO (+36 -0)
MAINTAINERS (+10 -0)
📝 Makefile (+109 -51)
📝 README.md (+14 -10)
README_ZH.md (+0 -107)
📝 cmd/admin.go (+3 -2)
📝 cmd/cert.go (+2 -1)

...and 80 more files

📄 Description

Relative to the issue #3845, this Pull Request add modifications to ordering by name Organizations and User Accounts.

It's more user friendly and make search more easy when organizations and user accounts are ordered by name rather than last update datetime.

I added new function GetUsersByIDs to decrease the number of SQL queries by using IN predicate rather than just running 1 SQL query per users.


🔄 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/49 **Author:** [@thibaultmeyer](https://github.com/thibaultmeyer) **Created:** 11/3/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/3845-ordering-org-user` --- ### 📝 Commits (10+) - [`cc1e822`](https://github.com/go-gitea/gitea/commit/cc1e82202af4d8df18fd08d05415ea064a8501f4) Small UI fixes on full width form titles - [`c5f3692`](https://github.com/go-gitea/gitea/commit/c5f36927cf6ba61613350e6a27c49621fb75c63b) Use proper url for libravatar dep - [`e683dee`](https://github.com/go-gitea/gitea/commit/e683deec3b60dd0989808f089d9be4e745c2854a) Fix sender of issue notifications - [`a006984`](https://github.com/go-gitea/gitea/commit/a006984d02f4abf537b93b818f003f8c73bf7e38) config lgtm to disable maintainer to LGTM himself's PR - [`42883f2`](https://github.com/go-gitea/gitea/commit/42883f22f92deb0f657612524d5cd134aa82289d) Fix SHA regexp and commit comparisons - [`e8b45fe`](https://github.com/go-gitea/gitea/commit/e8b45fea38c953daaffe3a2bcd16ab9d17e04824) Restore whitespace - [`ac93682`](https://github.com/go-gitea/gitea/commit/ac936823073464eb01db8dc489b01b85ddf11103) Change import reference to match gitea instead of gogs (#37) - [`2fbebad`](https://github.com/go-gitea/gitea/commit/2fbebad7d3c805247e4663fecc7e4470d23ee47c) Badges and travis testing (#40) - [`cd255db`](https://github.com/go-gitea/gitea/commit/cd255db14848d7a5a68216c4e7d070b48b145193) Ordering organizations and user accounts by name - [`da9cb6a`](https://github.com/go-gitea/gitea/commit/da9cb6a7cd571ec120d26248236fed433abae523) Show issue/PR number on title ### 📊 Changes **820 files changed** (+504861 additions, -2325 deletions) <details> <summary>View changed files</summary> ➖ `.bra.toml` (+0 -19) ➖ `.codebeatignore` (+0 -7) ➖ `.codebeatsettings` (+0 -7) 📝 `.editorconfig` (+3 -0) 📝 `.github/CONTRIBUTING.md` (+3 -3) 📝 `.github/PULL_REQUEST_TEMPLATE.md` (+1 -1) 📝 `.gitignore` (+35 -18) ➖ `.gopmfile` (+0 -59) ➕ `.lgtm` (+1 -0) ➖ `.pkgr.yml` (+0 -27) 📝 `.travis.yml` (+19 -15) ➕ `CONTRIBUTING.md` (+127 -0) ➕ `CONTRIBUTORS` (+9 -0) ➕ `DCO` (+36 -0) ➕ `MAINTAINERS` (+10 -0) 📝 `Makefile` (+109 -51) 📝 `README.md` (+14 -10) ➖ `README_ZH.md` (+0 -107) 📝 `cmd/admin.go` (+3 -2) 📝 `cmd/cert.go` (+2 -1) _...and 80 more files_ </details> ### 📄 Description Relative to the issue #3845, this Pull Request add modifications to ordering by name Organizations and User Accounts. It's more user friendly and make search more easy when organizations and user accounts are ordered by name rather than last update datetime. I added new function `GetUsersByIDs` to decrease the number of SQL queries by using IN predicate rather than just running 1 SQL query per users. --- <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:39:09 -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#15113