mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
When the `tags_listed_by_group` site setting is enabled, we were seeing the N+1 queries problem when multiple `TagGroup` records are listed. This commit fixes that by ensuring that we are not filtering through the `tags` association after the association has been eager loaded.