امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Suppose a new multi-column sort order is added by extending in
PHP:
When set as an explicit forum filter, this results in the following code;
PHP:
Read more
\XF\Repository with;PHP:
کد:
public function getDefaultThreadListSortOptions($forAdminConfig): array
{
$options = parent::getDefaultThreadListSortOptions($forAdminConfig);
$options['MyNewColumnAlias'] = [
['MyNewColumn'],
['last_post_date'],
];
return $options;
}
When set as an explicit forum filter, this results in the following code;
PHP:
$finder->setOrder([...Read more
