User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This change was created with the help of AI (Claude Code).
Whether numitems is calculated for categories depends on the countItems option the models pass to the categories service. The models used the wrong options:
CategoriesModel (layout uses show_cat_num_links_cat / show_empty_categories_cat) checked show_cat_num_links.CategoryModel (subcategories layout uses show_cat_num_links / show_empty_categories) checked show_cat_num_links_cat and show_empty_categories without negation.When the item counts are not calculated, numitems is 0. With "Empty Categories" set to Hide, categories that contain weblinks are hidden and the shown counts are 0.
The models now use the same options as their layouts, like the core components (count when the number is shown or when empty categories are hidden).
Categories with weblinks are listed and show the correct number of weblinks; empty categories are hidden.
Depending on the option combination categories with weblinks are hidden and/or the counts show 0.
None