Fixed Default resource list order - Title sorting is incorrect direction

AndyB

Well-known member
Affected version
Beta 7
I just upgraded to XF2 Resource manager. I like to sort the resources by title so I set this:

1508436678738.webp

However the resources are being sorted by in the incorrect direction by default.

1508436771984.webp

Please make the default title sort A to Z.
 
Changing the src/addons/XFRM/Repository/resourceItem.php file here to asc corrects the problem.

PHP:
        $resourceFinder
            ->forFullView(true)
            ->setDefaultOrder($this->options()->xfrmListDefaultOrder ?: 'last_update', 'desc');
 
Top Bottom