Merge pull request #201 from GaborApatiNagy/CA-144657

CA-144657: Custom searches are listed below default searches in the Navi...
This commit is contained in:
Stephen Turner 2014-09-08 15:38:48 +01:00
commit 536b8ca913

View File

@ -271,7 +271,7 @@ namespace XenAdmin.XenSearch
public int CompareTo(Search other) public int CompareTo(Search other)
{ {
int i = -DefaultSearch.CompareTo(other.DefaultSearch); int i = DefaultSearch.CompareTo(other.DefaultSearch);
if (i == 0) if (i == 0)
return Name.CompareTo(other.Name); return Name.CompareTo(other.Name);