Closed
Bug 785212
Opened 12 years ago
Closed 12 years ago
Method for getting all children of a page
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbennett, Assigned: jbennett)
References
Details
(Whiteboard: s=2012-09-05 p=2)
We have the reverse of this already for breadcrumbs -- we can get a list of parents through the "parent_topic" field. We need to do it the other direction, too, so we can get a list of children for moving trees of pages.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jbennett
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•12 years ago
|
Component: Docs Platform → Editing
Comment 1•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/01c6a887723233708f2b4d15ccf60b627b150dff Fix bug 785212: Method for getting all children of a page This is a somewhat naive recursive implementation that descends through children, grandchildren, etc. to build a list of all children. It is naive in the sense that A) it does not attempt to minimize the number of DB queries involved in building the tree, and B) currently has no way at all of detecting a circular dependency.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•