B2023-041 fixed issue where sorting search results no longer worked
This commit is contained in:
		@@ -1622,7 +1622,8 @@ namespace Volian.Controls.Library
 | 
			
		||||
			if (_SearchResults != null)
 | 
			
		||||
			{
 | 
			
		||||
				// B2021-076: Proms search results are not presented in order when printed to PDF
 | 
			
		||||
				if (cbSorted.Checked && _DisplayMember != "SearchPath" && _DisplayMember == "ShortSearchPath")
 | 
			
		||||
				// B2023-041 - backed out previous change as it was not needed and was preventing the sorting of search results text
 | 
			
		||||
				if (cbSorted.Checked)
 | 
			
		||||
				{
 | 
			
		||||
					Csla.SortedBindingList<ItemInfo> sortedResults = new Csla.SortedBindingList<ItemInfo>(_SearchResults);
 | 
			
		||||
					sortedResults.ApplySort(_DisplayMember, ListSortDirection.Ascending);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user