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.
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.