Red Hat Bugzilla – Bug 114405
No mechanism to efficiently filter by a category subtree.
Last modified: 2007-04-18 13:02:15 EDT
Description of problem:
While you can filter a list of objects based on a specific category,
by joining across the 'categories' association, there is no equivalent
way to filter based on all categories in a subtree. The current
workaround is to use an inSubqueryFilter, but the categorization API
update was intended to eliminate this approach.
This missing feature can implemented by defining an additional
read-only association that joins with the cat_cat_subcat_trans_index
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 97415 [details]
this implements Dan's suggestion
Saving the patch in Bugzilla for now, since the trunk is temporarily
closed at the moment.
All unit tests pass.
Fixed on the trunk in change 40017.
QA_READY has been deprecated in favor of ON_QA. Please use ON_QA in the future.
Moving to ON_QA.
Closing old tickets