Skip to content

Commit d4e947d

Browse files
authored
Fix LT-21617: Sorting does not work for Exception Features (#896)
1 parent 2b3d21d commit d4e947d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Src/xWorks/RecordList.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ protected override bool ListAlreadySorted
209209
{
210210
get
211211
{
212-
return !(m_owningObject as ICmPossibilityList).IsSorted;
212+
return (m_owningObject as ICmPossibilityList).IsSorted;
213213
}
214214
}
215215

@@ -2942,7 +2942,7 @@ protected virtual int GetNewCurrentIndex(ArrayList newSortedObjects, int hvoCurr
29422942
/// <param name="updateAndNotify">If true: Gui and properties should be updated, and notifications sent.</param>
29432943
protected void SortList(ArrayList newSortedObjects, bool updateAndNotify, ProgressState progress)
29442944
{
2945-
if (m_sorter != null && !ListAlreadySorted)
2945+
if (m_sorter != null)
29462946
{
29472947
m_sorter.DataAccess = m_publisher;
29482948
if (updateAndNotify && m_sorter is IReportsSortProgress)

0 commit comments

Comments
 (0)