Opened 14 years ago
Closed 13 years ago
#14472 closed defect (bug) (invalid)
get_categories - child_of
Reported by: | christian_gnoth | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
I want delete all categories which are childs_of a parent_categorie - three level - parent_cat --> sub_cat --> childs_cats
the childs_cata can be empty.
if I use the parameter child_of - I do not get those empty cats!!!
the possibility should be there to get them too.
it is for me important to get them deleted to have an actual view of existing categories - which are generated out from an external source.
Change History (13)
#2
@
14 years ago
- Severity changed from critical to blocker
no it is not duplicate to this !!!
I can generate a complete list of categories and check for each if they are childs of the parent, but that function should work and give those cats as result.
#3
@
14 years ago
- Severity changed from blocker to normal
It looks like a duplicate. The other ticket is reporting that when child_of is used, then hide_empty has no effect. So even if you set hide_empty to false, as you should here, it won't work.
Please don't overinflate severity.
#4
@
14 years ago
- Severity changed from normal to blocker
its not duplicate as I do not want exclude cats, but I want all child_of a cat - it is a similiar problem, but the get_terms function has to be changed on different places!!!
#9
@
14 years ago
- Severity changed from major to normal
the other ticket is a similiar problem, but not the same as the get_terms functions has to be changed on other points. infact that are two problems.
both have to be solved.
#10
@
13 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Re-open if you provide a patch. Otherwise, this ticket is done.
Duplicate of #14446?