Revert "fix: mention only users that can be read (#16978)"
This reverts commit 576af52ec6.
This commit is contained in:
parent
e0c25d2b2c
commit
d9900d4742
1 changed files with 2 additions and 2 deletions
|
|
@ -348,7 +348,7 @@ def get_names_for_mentions(search_term):
|
|||
|
||||
|
||||
def get_users_for_mentions():
|
||||
return frappe.get_list(
|
||||
return frappe.get_all(
|
||||
"User",
|
||||
fields=["name as id", "full_name as value"],
|
||||
filters={
|
||||
|
|
@ -361,7 +361,7 @@ def get_users_for_mentions():
|
|||
|
||||
|
||||
def get_user_groups():
|
||||
return frappe.get_list(
|
||||
return frappe.get_all(
|
||||
"User Group", fields=["name as id", "name as value"], update={"is_group": True}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue