• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/admin/locationhelper.php
  • Класс: BitrixSaleLocationAdminLocationHelper
  • Вызов: LocationHelper::getParametersForList
static function getParametersForList($proxed)
{
	$parameters = parent::getParametersForList($proxed);

	if(isset($parameters['order']['TYPE_ID'])) // sorting by TYPE_ID, being set, should work in different way
	{
		$parameters['order']['TYPE.SORT'] = $parameters['order']['TYPE_ID'];
		unset($parameters['order']['TYPE_ID']);
	}

	return $parameters;
}