Adding order by weight to projections

Topics: Customizing Orchard, General
May 2, 2014 at 1:45 PM
Hi there

I have set up a Property list and have set it to be ordered by weight which works fine. I want to apply the same thing to all my projections so they also order by weight but I am unsure how to. Please can someone advise?

Thanks in advance,
May 2, 2014 at 4:06 PM
You can first add a binding in Projector for ContainablePartRecord (I think), then you'll be able to sort by its Weight property.
May 6, 2014 at 8:35 AM
Thanks for your reply.

Can anyone give me any info on how to add a binding in Projector for ContainablePartRecord please?

May 6, 2014 at 11:06 AM
Open Projections on the admin and there will be a Bindings tab. There you can add a binding.
May 6, 2014 at 11:10 AM
Thanks very much, I have done this now and it is all working!