Skip to content

Commit

Permalink
Cleanup wording, left over debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Nov 2, 2024
1 parent f5364c9 commit 4d2935a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ def send_activation_email(
@router.get(
"/api/users/{user_id}/roles",
name="get user roles",
description="Return a collection of roles associated with this user. Only admins can see user roles.",
description="Return a list of roles associated with this user. Only admins can see user roles.",
require_admin=True,
)
def get_user_roles(
Expand Down
2 changes: 0 additions & 2 deletions lib/galaxy/webapps/galaxy/controllers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,8 @@ def apply_query_filter(self, query, **kwargs):
key = term.filter
q = term.text
if key == "name":
pass
query = query.filter(text_column_filter(self.model_class._name, term))
if key == "description":
pass
query = query.filter(text_column_filter(self.model_class.description, term))
elif key == "is":
if q == "deleted":
Expand Down

0 comments on commit 4d2935a

Please sign in to comment.