Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2416

Typo in "Category Heirarchy" page

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • 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

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            joanna.cheng@mongodb.com Joanna Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 8 weeks, 5 days ago