mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 16:51:16 +08:00

When categories are loaded by the frontend, the parent category is looked up by ID and the `parentCategory` is set with the result. If the categories returned are not in order, the parent category may miss.