mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +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:
parent
03900303a9
commit
6eeadb2082
15 changed files with 143 additions and 151 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue