Sort Current Layer

Topics: Customizing Orchard, General
Apr 30, 2015 at 5:14 AM
Hi Gents,

I want to sort the Current Layer on the Widget admin page. Can you provide the code?

Thanks
PK
Developer
Apr 30, 2015 at 4:42 PM
Sort what by what exactly?
May 1, 2015 at 12:31 AM
hi Sipke,

Just by name. I have say 20 or 30 layers, so the dropdown is sorted in create order. There was a fix where you could update one of the modules to sort the dropdown by name. Can't find it anywhere?


Regards,
PK
Developer
May 2, 2015 at 9:58 AM
Ah I see. Looks like there's actually an open issue for this here, including a patch: https://github.com/OrchardCMS/Orchard/issues/1925
Marked as answer by paulking on 5/2/2015 at 9:18 PM