Add-on Sort Installed Addons List By What's Active

Chris D

XenForo developer
Staff member
I don't have time to turn this into an add-on right now... but here's a quick code edit which might help.

library/XenForo/Model/AddOn.php

Change line 66. FROM:

PHP:
ORDER BY title

TO:

PHP:
ORDER BY active DESC, title

Mostly untested by the way. Use with caution. It works fine for the Admin CP home and Add On List.
 
  • Like
Reactions: DRE

DRE

Well-known member
Aweessooommee
I don't have time to turn this into an add-on right now... but here's a quick code edit which might help.

library/XenForo/Model/AddOn.php

Change line 66. FROM:

PHP:
ORDER BY title

TO:

PHP:
ORDER BY active DESC, title

Mostly untested by the way. Use with caution. It works fine for the Admin CP home and Add On List.
Magnifico!!! Should be core.
 
Top