Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 137
    • Merge requests 137
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !201

Closed
Created Nov 28, 2016 by Sebastien Robin@sebContributor
  • Report abuse
Report abuse

Current category list

  • Overview 14
  • Commits 3
  • Changes 0

Since the beginning, there was in getCategoryChildItemList Renderer API the possibility to pass a parameter 'current_category'. The idea was to allow displaying a category which is not part of what the item list will return (typically, if you expire a category, and if you check permission, the category will not be in item list any more).

But the way it was implemented was too inconvenient and it looks never used. So improve several things:

  • possibility to pass multiple categories for multi value cases
  • reuse renderer to render current categories instead of just reinjecting the url (which is not user friendly)
  • implement handling of current_category_list in getCategoryChildItemList to allow caching the result of the Renderer. The only part which is not cached is the rendering of current categories.
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: current_category_list
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7