Hi. I am building a custom frontpage for a site, where I list the forum tags and present them in a slider with their sub-tags under each. It seems I need to use the Flarum API / JSONAPI to preload the children (as by default they are not loaded and I cannot loop on them), like so :
tags = app.store.find('tags', { include: 'children' })
The problem is it breaks Flarum's left sidebar tags by seemingly messing the tag/children relationship. You can even try that in the current forum by opening the JS console on a discussions list page : the next click on a tag will show a messed-up tags hierarchy.
I can hardly use a custom server-side query either, as I need compatibility with glowingblue/localizd
that translates my tags.
Any help appreciated. Flarum 1.8.5.