diff --git a/lib/galaxy/webapps/galaxy/api/users.py b/lib/galaxy/webapps/galaxy/api/users.py index c9d4f8bd50ee..51b5dcea8ebd 100644 --- a/lib/galaxy/webapps/galaxy/api/users.py +++ b/lib/galaxy/webapps/galaxy/api/users.py @@ -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( diff --git a/lib/galaxy/webapps/galaxy/controllers/admin.py b/lib/galaxy/webapps/galaxy/controllers/admin.py index 13921485ff18..634c668b1f01 100644 --- a/lib/galaxy/webapps/galaxy/controllers/admin.py +++ b/lib/galaxy/webapps/galaxy/controllers/admin.py @@ -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":