From 5ca34baa359ad6879e52ba662fd08a5e21d0dd34 Mon Sep 17 00:00:00 2001 From: msyu Date: Sun, 23 Feb 2025 08:46:59 +0300 Subject: [PATCH] free search --- v1/Application.cfc | 2 +- v1/resources/instance_ls.cfc | 23 ++++++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index c4d38cf..e9a1e5f 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -51,7 +51,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="Deck API"; - variables.framework.docs.APIVersion="0.055"; + variables.framework.docs.APIVersion="0.056"; 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 9f2de6f..12d27bd 100644 --- a/v1/resources/instance_ls.cfc +++ b/v1/resources/instance_ls.cfc @@ -42,10 +42,11 @@ - - - - + + + + + @@ -147,6 +148,12 @@ left outer join usr u on (e.updater_id=u.usr_id) where s.specification_id= + + AND ( + e.display_name like + OR v.svc like + ) + ) inr where 1=1 @@ -181,12 +188,14 @@ - - + + - + + +