Skip to content

INavigationFilter implementations should not repeat queries #8689

Description

@MatteoPiovanelli

We noticed some "repeated" queries when generating some test pages.

As the system has to build menus, if the same menu is configured in more places in the page (e.g. in more than one widget in different zones) some providers will repeat the queries they use to fetch the relevant information.
The "culprits" we found so far are:

Both this situations can be fixed easily by memorizing the results of the first pass.

A PR for this is coming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions