View Issue Details

IDProjectCategoryView StatusLast Update
2430Composrcataloguespublic2016-04-20 23:42
ReporterJason Verhagen Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary2430: Incorrect catalogue subcategory counts in catalogues
DescriptionRunning v10 RC6. I'm not sure if this affects all catalogues, but I noticed the subcategory count is not correctly calculated in the Links catalogue. After adding one category, the Links Home category displays -1 as the subcategory count and then counts up from there (-1, 0, 1, 2...) with each additional category/subcategory added. When adding subcategories to the categories, the count for that category starts at 0 and stays at 0 when one subcategory is added, and then counts up from there (0, 0, 1, 2...) with each additional subcategory.

The Products catalogue, on a new installation, doesn't have any subcategories listed but the subcategory count is listed as 1.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Jason Verhagen

2016-04-20 03:36

developer   ~3611

Actually, the Products catalogue listing one subcategory looks correct, since it is listing from the Catalogues page (index.php?page=catalogues) which includes the catalogue itself as the main category. The Links catalogue looks to be correct on this page as well. But the subcategory counts within the Links catalogue pages (index.php?page=catalogues&type=category&catalogue_name=links and index.php?page=catalogues&type=index&id=links) are not right after adding some subcategories.

I also noticed Content>Links>Links Home (index.php?page=catalogues&type=browse&id=2) doesn't link to the Links Home page and instead it displays a page listing all of the catalogues.

Chris Graham

2016-04-20 23:42

administrator   ~3641

Both issues fixed.

Issue History

Date Modified Username Field Change
2016-04-20 02:51 Jason Verhagen New Issue
2016-04-20 03:36 Jason Verhagen Note Added: 0003611
2016-04-20 23:42 Chris Graham Note Added: 0003641
2016-04-20 23:42 Chris Graham Status Not Assigned => Resolved
2016-04-20 23:42 Chris Graham Resolution open => fixed
2016-04-20 23:42 Chris Graham Assigned To => Chris Graham