Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I got this error "At least one object must implement IComparable" when doing this code:
var sessions = stardNode.Children().Where("NodeTypeAlias == @0", "Conference").OrderBy("DateRange");
If I remove the "OrderBy", then it worked fine.
How can I sort this by start date?
You might be able to do something like this (using a strongly typed query rather than dynamics):
var sessions = stardNode.Children().Where(n => n.DocumentTypeAlias == "Conference").OrderBy(d => d.GetPropertyValue<Diplo.DateRangePicker.DateRange>("dateRange").StartDate);
thanks Dan! :)
I love your plugin... if you could also have an option to only display Time (TimeRangePicker) it would also be great! ;)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
OrderBy StartDate
Hi, I got this error "At least one object must implement IComparable" when doing this code:
If I remove the "OrderBy", then it worked fine.
How can I sort this by start date?
You might be able to do something like this (using a strongly typed query rather than dynamics):
thanks Dan! :)
I love your plugin... if you could also have an option to only display Time (TimeRangePicker) it would also be great! ;)
is working on a reply...