cleanup: remove reasoning comments and translate helper docs

This commit is contained in:
Naeel
2026-04-29 20:51:44 +04:00
parent f6d5c868cb
commit 7b98eee156
6 changed files with 145 additions and 161 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<cfsilent>
<!--- build query sort string --->
<!--- Формирует строку сортировки для запроса --->
<cfparam name="ATTRIBUTES.sortCollection" type="any">
<cfparam name="ATTRIBUTES.fieldCount" type="integer" default=0>
@@ -9,7 +9,7 @@
<cfset querySort="">
<cfset i=1 />
<cfloop collection=#ATTRIBUTES.sortCollection# index="item"><!--- *** Не уверен, что все будет хорошо, когда sortCollection - array, не перепутаются ли поля, порядок важен --->
<cfloop collection=#ATTRIBUTES.sortCollection# index="item">
<cftry>
<cfset sort=ATTRIBUTES.sortCollection[item] />
<cfif (i LE ATTRIBUTES.fieldCount) OR (ATTRIBUTES.fieldCount LE 0)>