From 4d2935adb596a0230c37baaa2225b8a45252c7a6 Mon Sep 17 00:00:00 2001 From: John Davis Date: Fri, 1 Nov 2024 21:52:34 -0400 Subject: [PATCH] Cleanup wording, left over debug code --- lib/galaxy/webapps/galaxy/api/users.py | 2 +- lib/galaxy/webapps/galaxy/controllers/admin.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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":