From d3d8d0c2a25b35d2761aee5d4996a7ab59b2768a Mon Sep 17 00:00:00 2001 From: msyu Date: Tue, 26 Nov 2024 22:11:57 +0300 Subject: [PATCH] minor fix --- v1/Application.cfc | 2 +- v1/resources/instance.cfc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index ba2edc6..7d115fe 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -71,7 +71,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="Deck API"; - variables.framework.docs.APIVersion="0.029"; + variables.framework.docs.APIVersion="0.030"; variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; diff --git a/v1/resources/instance.cfc b/v1/resources/instance.cfc index 49b5e83..5529c77 100644 --- a/v1/resources/instance.cfc +++ b/v1/resources/instance.cfc @@ -96,7 +96,8 @@ group by instance_operation_uid) sts on (o.instance_operation_uid=sts.instance_operation_uid) left outer join instance_state status on (sts.instance_operation_uid=status.instance_operation_uid AND sts.version=status.version) where o.instance_uid= - order by status.version desc + --order by status.version desc + order by o.dt_created desc