diff --git a/v1/Application.cfc b/v1/Application.cfc index 27c0d9e..24ce8b7 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.100"; + variables.framework.docs.APIVersion="0.101"; variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; diff --git a/v1/resources/instance_operation.cfc b/v1/resources/instance_operation.cfc index c055f43..695f0df 100644 --- a/v1/resources/instance_operation.cfc +++ b/v1/resources/instance_operation.cfc @@ -185,7 +185,7 @@ - select distinct r.resource_realm + select distinct r.resource_realm, r.sort from resource_realm r join resource_realm_access a on (r.resource_realm_id=a.resource_realm_id diff --git a/v1/resources/instance_operation_default.cfc b/v1/resources/instance_operation_default.cfc index dcddb63..4817f75 100644 --- a/v1/resources/instance_operation_default.cfc +++ b/v1/resources/instance_operation_default.cfc @@ -178,7 +178,7 @@ - select distinct r.resource_realm + select distinct r.resource_realm, r.sort from resource_realm r join resource_realm_access a on (r.resource_realm_id=a.resource_realm_id @@ -187,7 +187,7 @@ AND a.is_enabled) join svc s on r.resource_realm_type_id=s.resource_realm_type_id where s.svc_id= - order by 1 + order by r.sort