A client wants to clean up their messy categories, but when assigning the categories to parent categories, the entries don't update. So when I want to output a list of all entries in a parent category, I might get no results if the entries wasn't originally categorized with the parent category...
I realize there's an answer here: Automatically assign parent category to sub-category entries?
But that PHP-code does nothing for my entries, they're still only categorized with their original categories (which are now child-categories). Anybody got another PHP-code or an SQL-query to help me out?