instance_ls bug fix
This commit is contained in:
@@ -104,11 +104,11 @@
|
|||||||
<cfreturn representationOf(this.helper.formatBadRequestError(cfcatch)).withStatus(400)/>
|
<cfreturn representationOf(this.helper.formatBadRequestError(cfcatch)).withStatus(400)/>
|
||||||
</cfcatch>
|
</cfcatch>
|
||||||
</cftry>
|
</cftry>
|
||||||
<!---
|
<!---
|
||||||
<cfdump var=#order#/>
|
<cfdump var=#order#/>
|
||||||
<cfdump var=#local.fieldsToQueryFor#/>
|
<cfdump var=#local.fieldsToQueryFor#/>
|
||||||
<cfdump var=#local.fieldsToOutput#/>
|
<cfdump var=#local.fieldsToOutput#/>
|
||||||
<cfabort/>--->
|
<cfabort/>--->
|
||||||
|
|
||||||
<cftry><!--- *** времянка, пока глотается ошибка 500 --->
|
<cftry><!--- *** времянка, пока глотается ошибка 500 --->
|
||||||
<!--- <cfset var maxrows=arguments.pageSize*arguments.page/> --->
|
<!--- <cfset var maxrows=arguments.pageSize*arguments.page/> --->
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
<m:field>(select max(version) from instance_state st where st.instance_uid=e.instance_uid) as version</m:field>
|
<m:field>(select max(version) from instance_state st where st.instance_uid=e.instance_uid) as version</m:field>
|
||||||
</m:field_set>
|
</m:field_set>
|
||||||
|
|
||||||
<!--- <cfdump var=#definedInstanceFields#/><cfabort/>--->
|
<!--- <cfdump var=#definedInstanceFields#/><cfabort/> --->
|
||||||
|
|
||||||
<cfquery name="local.qCnt" result="local.result">
|
<cfquery name="local.qCnt" result="local.result">
|
||||||
select count(*) as cnt
|
select count(*) as cnt
|
||||||
@@ -182,7 +182,7 @@
|
|||||||
<cfif structIsEmpty(filter)>
|
<cfif structIsEmpty(filter)>
|
||||||
'' as placeholder
|
'' as placeholder
|
||||||
<cfelse>
|
<cfelse>
|
||||||
#definedInstanceFields#
|
#preserveSingleQuotes(definedInstanceFields)#
|
||||||
</cfif>
|
</cfif>
|
||||||
from instance e
|
from instance e
|
||||||
join specification_item i on (e.specification_item_id=i.specification_item_id)
|
join specification_item i on (e.specification_item_id=i.specification_item_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user