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