Migrating or merging existing topics in categories?


(Patrick Klug) #1

Is there any support for merging/migrating categories?


Best way to combine/merge categories when importing topics?
(Kane York) #2

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.


(Patrick Klug) #3

Thanks, very helpful. Is there a way to select all topics in a category? Not a big deal but would be convenient.


(Kane York) #4

Nope, you have to go and click the box for each one :frowning:


(Patrick Klug) #5

What, how is such inefficiency without gamification even tolerated!?? jk - thanks.


(Kane York) #6

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()


(Robin Ward) #7

Note that if you do this, you’ll only get the current topics in memory, not all topics.