From 485efb12c343ea492f1c6d7eef5b154bb0878e99 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 14 Nov 2025 17:52:58 +0300 Subject: [PATCH] 167 instances search synonyms bugfix --- v1/Application.cfc | 2 +- v1/resources/instance_ls.cfc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index 45d8b82..c8148f4 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -51,7 +51,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="svc-api"; - variables.framework.docs.APIVersion="0.166"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.167"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; diff --git a/v1/resources/instance_ls.cfc b/v1/resources/instance_ls.cfc index fe0adaa..3f9f3a3 100644 --- a/v1/resources/instance_ls.cfc +++ b/v1/resources/instance_ls.cfc @@ -231,8 +231,8 @@ where s.specification_id= AND ( - lower(e.display_name) like lower() - OR lower((coalesce(v.svc,'') ||' '|| coalesce(v.svc_short,'') ||' '|| coalesce(v.synonyms,''))) like lower like lower() + (e.display_name) ilike () + OR ((coalesce(v.svc,'') ||' '|| coalesce(v.svc_short,'') ||' '|| coalesce(v.synonyms,''))) ilike () ) ) inr @@ -271,9 +271,9 @@ AND ( - lower(e.display_name) like lower() - OR lower(v.svc) like lower() - ) + (e.display_name) ilike () + OR ((coalesce(v.svc,'') ||' '|| coalesce(v.svc_short,'') ||' '|| coalesce(v.synonyms,''))) ilike () + ) ) inr