vc-module-catalog icon indicating copy to clipboard operation
vc-module-catalog copied to clipboard

/api/catalog/search/categories doesn't provide abilty to browse the catalog

Open OlegoO opened this issue 5 years ago • 1 comments

Please provide detailed information about your issue, thank you!

Version info:

  • Platform version: 2.13.50
  • Module version: 2.23.23

Expected behaviour

Find Top Categories, Then Child Categories and etc

Actual behaviour

The method returns all categories

Steps to reproduce

  1. Go to Swagger UI
  2. Find /api/catalog/search/categories
  3. Send POST
{
  "catalogId": "fc596540864a41bf8ab78734ee7353a3",
  "skip": 0,
  "take": 100,
}

I expected to see 2 categories, instead of 12.

Workaround: Use /api/catalog/listentries method, like admin UI

OlegoO avatar Sep 27 '19 13:09 OlegoO

https://virtocommerce.atlassian.net/browse/VP-784

kostyrin avatar Dec 20 '19 13:12 kostyrin