Skip to content

Commit

Permalink
add sort criteria to test browser file and folder list
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Jones committed Mar 12, 2018
1 parent 0b338bc commit f047798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-browser/index.cfm
Expand Up @@ -32,7 +32,7 @@
</cfif>

<!--- Get list of files --->
<cfdirectory action="list" directory="#rootPath & url.path#" name="qResults" sort="asc" >
<cfdirectory action="list" directory="#rootPath & url.path#" name="qResults" sort="directory asc, name asc">
<!--- Get the execute path --->
<cfset executePath = rootMapping & ( url.path eq "/" ? "/" : url.path & "/" )>
<!--- Get the Back Path --->
Expand Down

0 comments on commit f047798

Please sign in to comment.