mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 05:39:46 +02:00
#13 finish user and repository search
Both are possible on explore and admin panel
This commit is contained in:
1 parent
df2bdf7ea3
commit
2bf8494332
31 files changed
+636
-463
No files matched your search
+1
-1
@@ -169,7 +169,7 @@ func GetOrgByName(name string) (*User, error) {
|
||||
}
|
||||
u := &User{
|
||||
LowerName: strings.ToLower(name),
|
||||
Type: ORGANIZATION,
|
||||
Type: USER_TYPE_ORGANIZATION,
|
||||
}
|
||||
has, err := x.Get(u)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user