1. 01 Dec, 2016 2 commits
    • Cédric Le Ninivin's avatar
    • Sebastien Robin's avatar
      CMFCategory: review usage of current_category and rename it current_category_list · 5e44e178
      Sebastien Robin authored
      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.
      
      /reviewed-on !201
      5e44e178
  2. 30 Nov, 2016 5 commits
  3. 29 Nov, 2016 5 commits
  4. 28 Nov, 2016 1 commit
  5. 25 Nov, 2016 2 commits
  6. 24 Nov, 2016 7 commits
  7. 23 Nov, 2016 6 commits
  8. 22 Nov, 2016 12 commits