From e1c0cd44ae902150c167e6bfe7e69130344588a1 Mon Sep 17 00:00:00 2001 From: Ken Sternberg Date: Thu, 4 Jan 2024 13:14:43 -0800 Subject: [PATCH] web: always trim the search string passed. --- web/src/admin/outposts/OutpostForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/admin/outposts/OutpostForm.ts b/web/src/admin/outposts/OutpostForm.ts index ded4a088b..061f67565 100644 --- a/web/src/admin/outposts/OutpostForm.ts +++ b/web/src/admin/outposts/OutpostForm.ts @@ -43,7 +43,7 @@ const providerListArgs = (page: number, search = "") => ({ ordering: "name", applicationIsnull: false, pageSize: 20, - search: search, + search: search.trim(), page, });