I need to disable all products that are in a particular category (the category itself is disabled but the products must not show in search, either).
I found this blog post but that's for an older version of Magento than 1.4 - the database structure has changed and I don't know how to adjust the SQL accordingly.
The filtering of products could alternatively be done on a dropdown attribute if that's easier, as all products with this attribute set a certain way are in the category.
Thanks.