wagtailmenus icon indicating copy to clipboard operation
wagtailmenus copied to clipboard

Use page.path to determine which pages are ancestors

Open ababic opened this issue 5 years ago • 0 comments

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.

ababic avatar Jul 13 '19 07:07 ababic