[RSS Feed/News] XF\Repository\AbstractField::getFieldCacheData attempts to order by display_group

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
... even if the display_group field does not exist in the entity structure:
PHP:

Code:
        if (empty($this->em->getEntityStructure($this->getClassIdentifier())->columns['display_group']))
        {
            $finder->order(['display_group', 'display_order']);
        }
        else
        {
            $finder->order('display_order');
        }

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom