Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
http://docs.mongodb.org/ecosystem/use-cases/category-hierarchy/
for cat in db.categories.find(
|
{'ancestors._id': bop_id},
|
{'parent_id': 1}):
|
build_ancestors_full(cat['_id'], cat['parent_id'])
|
That should be parent, not parent_id to keep the field names consistent with the schema at the top of the page.
Attachments
Issue Links
- is duplicated by
-
DOCS-2417 Comment on: "ecosystem/use-cases/category-hierarchy.txt"
-
- Closed
-