#13 finish user and repository search

Both are possible on explore and admin panel
This commit is contained in:
Unknwon committed 2016-03-11 15:33:12 -05:00
1 parent df2bdf7ea3
commit 2bf8494332
31 files changed
+636 -463

No files matched your search

+1 -1
View File
@@ -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 {