debug
This commit is contained in:
@@ -21,12 +21,9 @@
|
||||
<cfargument name="page" type="string" hint="type:integer" default="1"/>
|
||||
<cfargument name="orderBy" type="string" hint="type:string, description:comma-separated list of fields to sort by, example:fld1.ASC,fld2.DESC,fld3.ASC" default=""/>
|
||||
|
||||
<cftry>
|
||||
|
||||
<cftry> <!--- отладка на время проблемы 404 --->
|
||||
<cfset local={}/>
|
||||
|
||||
<cfreturn representationOf("test 1")/>
|
||||
|
||||
<!---parse and validate request parameters--->
|
||||
<cftry>
|
||||
<cfset this.helper.validateField(arguments, "pageSize", "integer")/>
|
||||
@@ -44,7 +41,6 @@
|
||||
</cfcatch>
|
||||
</cftry>
|
||||
|
||||
|
||||
<cfset var out={}/>
|
||||
<cfset var maxrows=arguments.pageSize*arguments.page/>
|
||||
<cfset var startrow=arguments.pageSize*(arguments.page-1)+1/>
|
||||
@@ -109,6 +105,7 @@
|
||||
<cfcatch type="any">
|
||||
<cfreturn representationOf(cfcatch)/>
|
||||
</cfcatch>
|
||||
</cftry>
|
||||
|
||||
</cffunction>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user