]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 105773: Email addresses in the CC list are now sorted case-insensitively
authorjustdave%syndicomm.com <>
Sat, 3 Nov 2001 10:05:43 +0000 (10:05 +0000)
committerjustdave%syndicomm.com <>
Sat, 3 Nov 2001 10:05:43 +0000 (10:05 +0000)
Patch by Adam Kennedy <bugzilla@ali.as>
r= justdave x2

Bugzilla/RelationSet.pm
RelationSet.pm

index bfd5724009322c12b9a144388505daefa45aa418..8668519b9de0fce20ba97f2623388d2a31f9ee3c 100644 (file)
@@ -248,7 +248,7 @@ sub toArrayOfStrings {
     push @result, &::DBID_to_name($i);
   }
 
-  return sort(@result);
+  return sort { lc($a) cmp lc($b) } @result;
 }  
 
 # return this set in string form (comma-separated and sorted)
index bfd5724009322c12b9a144388505daefa45aa418..8668519b9de0fce20ba97f2623388d2a31f9ee3c 100644 (file)
@@ -248,7 +248,7 @@ sub toArrayOfStrings {
     push @result, &::DBID_to_name($i);
   }
 
-  return sort(@result);
+  return sort { lc($a) cmp lc($b) } @result;
 }  
 
 # return this set in string form (comma-separated and sorted)