Don't miss out Virtual Happy Hour this Friday (April 26).
When using a FileSystemDataSource and a page property of type "Sort order for files", the files are not being sorted by "File type".
Compare() in FileSystemItemComparer reveals the problem:
case FileSortOrder.Type: return x.Type.CompareTo(y.Type);
The code is actually doing a comparison on the object type.
Best regards
René
------------------EPiServer CMS 5 R2
When using a FileSystemDataSource and a page property of type "Sort order for files", the files are not being sorted by "File type".
Compare() in FileSystemItemComparer reveals the problem:
case FileSortOrder.Type:
return x.Type.CompareTo(y.Type);
The code is actually doing a comparison on the object type.
Best regards
René
------------------
EPiServer CMS 5 R2