diff --git a/XenModel/XenSearch/Search.cs b/XenModel/XenSearch/Search.cs index 6f9757f45..41445dcf2 100644 --- a/XenModel/XenSearch/Search.cs +++ b/XenModel/XenSearch/Search.cs @@ -271,7 +271,7 @@ namespace XenAdmin.XenSearch public int CompareTo(Search other) { - int i = -DefaultSearch.CompareTo(other.DefaultSearch); + int i = DefaultSearch.CompareTo(other.DefaultSearch); if (i == 0) return Name.CompareTo(other.Name);