WIP: Fixed :site_query_categories event hook

This commit is contained in:
Sérgio Saquetim 2023-01-14 02:13:50 -03:00
parent 5fb655b6bf
commit e1c3dfc8f5
No known key found for this signature in database
GPG Key ID: B4E3D7F11E793062

View File

@ -85,7 +85,6 @@ class Site
.joins("LEFT JOIN topics t on t.id = categories.topic_id")
.select("categories.*, t.slug topic_slug")
.order(:position)
.to_a
modifiers = []
# some plugins may need to change the categories cached on site load