Skip to content

Use page.path to determine which pages are ancestors #339

@ababic

Description

@ababic

Currently wagtailmenus makes a database query to identify the page IDs of ancestors, and keeps it around in the context to help figure this out.

If we can work this out without a query, we should definitely do so. And with active class derivation becoming more efficient, we should just go ahead and apply it every time, and not make it optional.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions