Adding order by weight to projections

Topics: Customizing Orchard, General
May 2, 2014 at 2: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,
Kirsty
Developer
May 2, 2014 at 5: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 9:35 AM
Thanks for your reply.

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

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