mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-28 20:45:00 +03:00
fix сортировки тегов в облаке
This commit is contained in:
parent
246f225e2f
commit
b0d632424f
|
@ -735,9 +735,9 @@ class Mapper_Topic extends Mapper {
|
|||
$aReturnSort=array();
|
||||
if ($aRows=$this->oDb->select($sql,$iLimit)) {
|
||||
foreach ($aRows as $aRow) {
|
||||
$aReturn[$aRow['topic_tag_text']]=$aRow;
|
||||
}
|
||||
ksort($aReturn);
|
||||
$aReturn[mb_strtolower($aRow['topic_tag_text'],'UTF-8')]=$aRow;
|
||||
}
|
||||
ksort($aReturn);
|
||||
foreach ($aReturn as $aRow) {
|
||||
$aReturnSort[]=new TopicEntity_TopicTag($aRow);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue