Is there any support for merging/migrating categories?
AI-generated summary
Migrating or Merging Existing Topics in Categories
There is no direct support for merging or migrating categories. However, riking suggests a workaround:
- Move all topics from the source category to the target category using bulk actions.
- Once all topics are moved, the source category can be deleted.
Currently, there is no option to select all topics in a category at once. pakl inquired about this feature, but riking confirmed that it is not available.
As a potential solution, riking proposes using jQuery to loop over and check all checkboxes, but eviltrout notes that this method would only work for topics currently in memory, not all topics.
EDIT: Hang on, I’ll do some more details..
First, we know that you may not delete a category unless it is emtpy (nothing but the category definition).
You usually don’t want to delete all the topics, so move them to another existing category instead. In this case, move them to the category that’s the “target” of the merge.
The bulk actions is a good way to easily change the category of all of them.
Once you’ve moved them all out, you can delete the category. You’ll need everybody to refresh afterwards.
Thanks, very helpful. Is there a way to select all topics in a category? Not a big deal but would be convenient.
Nope, you have to go and click the box for each one ![]()
What, how is such inefficiency without gamification even tolerated!?? jk - thanks.
Actually, you could probably use jQuery by looping over $('.ember-checkbox') and set .checked = true for each of them (after loading all the topics).
Kinda like $('.like').click()
Note that if you do this, you’ll only get the current topics in memory, not all topics.
