1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 17:28:23 +03:00

fix сортировки топиков

This commit is contained in:
Mzhelskiy Maxim 2012-06-27 11:10:13 +04:00
parent 0e489ce445
commit b0d0ecec72

View file

@ -676,7 +676,7 @@ class ModuleTopic extends Module {
if ($sPeriod) {
$aFilter['topic_date_more'] = $sPeriod;
}
$aFilter['order']=' t.topic_count_comment desc ';
$aFilter['order']=' t.topic_count_comment desc, t.topic_id desc ';
/**
* Если пользователь авторизирован, то добавляем в выдачу
* закрытые блоги в которых он состоит