Here’s how I’m doing it in the feature voting plugin:
You get the topic first and then (if I remember correctly) you can do this:
topic.category.id
PS. I believe with the plugin changes, I may have some updates to do to this file.
Here’s how I’m doing it in the feature voting plugin:
You get the topic first and then (if I remember correctly) you can do this:
topic.category.id
PS. I believe with the plugin changes, I may have some updates to do to this file.