Fixed XF\Repository\AbstractField::getFieldCacheData attempts to order by display_group

Affected version
2.2.3

TickTackk

Well-known member
... even if the display_group field does not exist in the entity structure:
PHP:
        if (empty($this->em->getEntityStructure($this->getClassIdentifier())->columns['display_group']))
        {
            $finder->order(['display_group', 'display_order']);
        }
        else
        {
            $finder->order('display_order');
        }
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.4).

Change log:
Fix group sorting of field cache data
There may be a delay before changes are rolled out to the XenForo Community.
 
Top