diff --git a/src/client/spark/view/Extensions/WPFExtensions.cs b/src/client/spark/view/Extensions/WPFExtensions.cs index e15a36db3..70b4bebdf 100644 --- a/src/client/spark/view/Extensions/WPFExtensions.cs +++ b/src/client/spark/view/Extensions/WPFExtensions.cs @@ -300,8 +300,7 @@ namespace mbts.ui { } /// - /// The List stored in GridSettings needs a column-id, but collection_view.SortDescriptions only have sort-property-path. - /// This method maps property-paths to column-ids to get a List that is appropriate for GridSettings. + /// Converts .SortDescriptions into a List<>. /// public static List get_sorting_criteria(this ICollectionView collection_view, ObservableCollection columns) => collection_view.SortDescriptions @@ -310,8 +309,7 @@ namespace mbts.ui { .ToList(); /// - /// The ICollectionView.SortDescriptions call for a sort-property-path while the List in GridSettings uses column-id. - /// This method matches each column-id to a specific column and creates a SortDescription with said column's sort-member-path. + /// Converts each into a and assigns the result to .SortDescriptions. /// public static void set_sort_descriptions(this ICollectionView collection_view, IEnumerable sorting_criterion, ObservableCollection columns) { using (collection_view.DeferRefresh()) {