about summary refs log tree commit diff
path: root/gn_auth/auth/authorisation/users
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-04-08 14:35:39 -0500
committerFrederick Muriuki Muriithi2026-04-08 14:36:46 -0500
commit8312082b66775ba89dce842d86686d86c33771be (patch)
treeefb9f3b62b4c1ea1f0bfaeda9714984aad80d2b4 /gn_auth/auth/authorisation/users
parent8515d9a495cd4ed4f3ca2287feb30c490a9f2e92 (diff)
downloadgn-auth-8312082b66775ba89dce842d86686d86c33771be.tar.gz
user resources: Add a text filter for further filtering. HEAD main
Diffstat (limited to 'gn_auth/auth/authorisation/users')
-rw-r--r--gn_auth/auth/authorisation/users/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/users/views.py b/gn_auth/auth/authorisation/users/views.py
index dc2c1e4..a706067 100644
--- a/gn_auth/auth/authorisation/users/views.py
+++ b/gn_auth/auth/authorisation/users/views.py
@@ -328,7 +328,8 @@ def user_resources() -> Response:
                 conn,
                 the_token.user,
                 start_at=int(_request_params.get("start", 0)),
-                count=int(_request_params.get("length", 0)))
+                count=int(_request_params.get("length", 0)),
+                text_filter=_request_params.get("text_filter", ""))
             return jsonify({
                 "resources": [asdict(resource) for resource in _resources],
                 "total-records": _total_records,