Skip to content

300 Nested categories per a page #418

Open

Description

@atelomycterus

All nested categories display up to 300 sub-categories. Categories page supports paging if the category has type=Discussions.
For example,
https://vanilla.topcoder-dev.com/categories/payment-discussions - with a paging control
https://vanilla.topcoder-dev.com/categories/development-forums' shows 300 children.

c('Vanilla.Categories.QueryLimit', 300) is set in CategoryCollection class, which is also used in

  1. Breadcrumb provider for the forum application.
  2. Vanilla Calculators:
   $collection->setStaticCalculator(function (&$category) {
        self::calculate($category);
    });

    $collection->setUserCalculator(function (&$category) {
        $this->calculateUser($category);
    });

Open questions

  1. I'm not sure that we can take and change to a lower value. Need to look at the code.
  2. From the user's point of view, if the category that I need is simply not displayed in the list, then how I can find it.
    Bookmarks are used for discussions only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions