FileSystemDataSource and FileSortOrder.Type not working


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


EPiServer CMS 5 R2

Apr 20, 2009 13:02
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.