def get_wagtail_children_live_in_menu_all(root_page, active_page):
    """
    Recursively find all live pages that have attribute In Menu flipped on.

    :param root_page: The root_page page to start the search
    :param active_page: The page currently being requested
    :return: The filtered QuerySet of pages that are in the menu
    """
    menu_items = root_page.get_children().live().in_menu()

    for item in menu_items:
        item.active = item.url == active_page.url
        item.children = get_wagtail_children_live_in_menu_all(item, active_page)

    return menu_items