Hmm, I'm not sure why it wouldn't work then, that's pretty much exactly my code.
I'm looking to be able to put categories into groups, for easier display on the home page (I plan on having a lot of categories)
I'm happy to extend NodeBB itself to achieve this, or go through a plugin system if possible.
Anyone have any clues on where to start? I'm assuming I'll need to look at
categoriesController.getand change the return to either just include a group parameter that I can shuffle on the front end, or better yet, get it to return categories in groups.
Look through open issues, it looks like I'm asking for this:
If people have any pointers on where to begin, I'm happy to start implementing.