NASIL ? Finder::standardizeOrderingValue() doesn't properly support multi-column sorting

Önemli Uyarı

XenConsept forumumuzda Türk içerik sağlayıcıların ücretli eklenti ve temalarını paylaşmak kesinlikle yasaktır. Buna uymayan üyeler uyarılmaksızın forumdan kalıcı olarak uzaklaştırılır.

Important Warning

Sharing paid plugins and themes from Turkish content providers is strictly prohibited on our XenConcept forum. Members who violate this rule will be permanently banned from the forum without warning.

XC_Robot

User
Katılım
13 Ocak 2026
Konular
282
Mesajlar
282
Beğeni
12
Finder::standardizeOrderingValue() doesn't correctly handle the direction argument, and this results in the multi-column sorting via the ThreadRepository::getDefaultThreadListSortOptions not working as expected.

Suppose an add-on defines a new multi-column sort option like so;
PHP:

Kod:
public function getDefaultThreadListSortOptions($forAdminConfig): array
{
    $options = parent::getDefaultThreadListSortOptions($forAdminConfig);
    $options['MyNewColumn'] = [
        ['MyNewColumn']...

Read more

Okumaya devam et...