From 9324802baeece1a4bbd393297befe89c75b4107e Mon Sep 17 00:00:00 2001 From: Oluwapizzy Date: Mon, 29 Jun 2026 17:49:19 -0400 Subject: [PATCH 1/2] Fix: Enable magnifying glass search in BusinessLookup component When authenticated (IDIR/BCeID/BCSC), the BusinessLookup component is used instead of BusinessFetch. While BusinessFetch had the magnifying glass wired to trigger search, BusinessLookup did not. This made the icon appear non-functional for all authenticated users in both DEV and TEST environments. Changes: - Wire @click:append event to call onMagnifyClick() handler - Add async onMagnifyClick() method that performs immediate (non-debounced) search - Validates minimum 3 characters before executing search - Reuses existing BusinessLookupServices.search() with proper auth headers The immediate search (no 600ms debounce) provides better UX when using the magnifying glass, while the character validation ensures safe searches. Works for all authentication methods (IDIR, BCeID, BCSC) via shared Keycloak interceptors and axios auth headers. --- app/src/components/new-request/business-lookup.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/src/components/new-request/business-lookup.vue b/app/src/components/new-request/business-lookup.vue index b325cfca7..3b6123125 100644 --- a/app/src/components/new-request/business-lookup.vue +++ b/app/src/components/new-request/business-lookup.vue @@ -23,6 +23,7 @@ :label="lookupLabel" @input="onItemSelected($event)" @keydown.enter.native.prevent + @click:append="onMagnifyClick" >