#1062 closed defect (bug) (invalid)
Categories display items from subcategories but don't count them
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 2.1 |
Component: | General | Keywords: | dev-feedback 2nd-opinion |
Focuses: | Cc: |
Description
wp_list_cats('sort_column=name&optioncount=1')
That currently returns the list of categories hierarchically and counts the entries in each category. If you have an entry tagged with a subcategory and not the parent, the parent category correctly displays subcategory items. However, it doesn't "count" the items that belong to a subcategory and not the parent.
Change History (7)
#2
@
18 years ago
- Component changed from Template to General
- Keywords dev-feedback 2nd-opinion added
- Owner changed from anonymous to rob1n
- Priority changed from normal to low
- Status changed from new to assigned
- Version changed from 1.5.1 to 2.1
#3
@
18 years ago
Could go either way... although it would certainly be a little bit more computationally intense to do it the way this ticket wants. We'd have to drill down from each category adding up the totals of the subcategories. With a big tree structure, that could be a lot of drilling.
#4
@
18 years ago
- Milestone set to 2.3
I can't remember who it was, but I thought either Andy or Ryan spent a fair amount of time coming to the current behavior.
IMO this isn't really a bug... devs?