mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
Categories refactor (#9233)
* feat: wip categories pagination * feat: add subCategoriesPerPage setting * feat: add load more sub categories button to category page * fix: openapi spec * feat: show sub categories left on category page hide button when no more categories left * breaking: rename categories to allCategories on /search categories contains the search results * fix: spec * refactor: remove cidsPerPage * fix: tests * feat: use component for subcategories * fix: prevent negative subCategoriesLeft
This commit is contained in:
committed by
GitHub
parent
4c12e0aaf8
commit
d1364c3130
@@ -72,6 +72,9 @@ CategoryObject:
|
||||
totalTopicCount:
|
||||
type: number
|
||||
description: The number of topics in the category
|
||||
subCategoriesPerPage:
|
||||
type: number
|
||||
description: The number of subcategories to display on the categories and category page
|
||||
- type: object
|
||||
description: Optional properties that may or may not be present (except for `cid`, which is always present, and is only here as a hack to pass validation)
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user