Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
В файле стандартного шаблона умного фильтра catalog.smart.filter/.default/template.php дописываем после 156
foreach ($arItem["VALUES"] as $key => $sortkey) {
$values[$key] = $sortkey['VALUE'];
}
array_multisort($values, SORT_ASC, $arItem['VALUES']);
unset($values);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.