Skip to content

ContainerWidgetPart ignores the Position #7859

Description

@MatteoPiovanelli

Comparing the Display methods of ContainerWidgetPartDriver and ContainerPartDriver, in the latter, the results of the IContentQuery are ordered based on the Position property, while they are not sorted at all in the former. I noticed this today in a site we are working on.
The Italian version had everything ordered correctly, while the English translation did not. Turns out, we were lucky when doing the Italian contents because we created them in the same order we were thgen displaying them with the position parameter.

Momentarily I will push a PR adding that ordering to th IContentQuery for the Widget, because I feel that since the parameter is there, using it is the correct behaviour.

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