mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Hide unactive on explore users and some refactors (#2741)
* hide unactive on explore users and some refactors * fix test for removed Organizations * fix test for removed Organizations * fix imports * fix logic bug * refactor the toConds * Rename TestOrganizations to TestSearchUsers and add tests for users * fix other tests * fix other tests * fix watchers tests * fix comments and remove unused code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-
|
||||
id: 1
|
||||
user_id: 1
|
||||
user_id: 9
|
||||
issue_id: 1
|
||||
is_watching: true
|
||||
created_unix: 946684800
|
||||
|
@@ -13,6 +13,7 @@
|
||||
avatar: avatar1
|
||||
avatar_email: user1@example.com
|
||||
num_repos: 0
|
||||
is_active: true
|
||||
|
||||
-
|
||||
id: 2
|
||||
@@ -62,6 +63,7 @@
|
||||
avatar_email: user4@example.com
|
||||
num_repos: 0
|
||||
num_following: 1
|
||||
is_active: true
|
||||
|
||||
-
|
||||
id: 5
|
||||
|
@@ -10,5 +10,5 @@
|
||||
|
||||
-
|
||||
id: 3
|
||||
user_id: 10
|
||||
user_id: 9
|
||||
repo_id: 1
|
||||
|
Reference in New Issue
Block a user