incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject wp7 commit: [CB-334] Nickname was not being returned properly in contacts.search
Date Wed, 25 Apr 2012 22:44:02 GMT
Updated Branches:
  refs/heads/master bf0e4aeb2 -> df46ac907


[CB-334] Nickname was not being returned properly in contacts.search


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/df46ac90
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/df46ac90
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/df46ac90

Branch: refs/heads/master
Commit: df46ac9072c9f1c670b428f3a132698ece5894b5
Parents: bf0e4ae
Author: filmaj <maj.fil@gmail.com>
Authored: Wed Apr 25 15:43:48 2012 -0700
Committer: filmaj <maj.fil@gmail.com>
Committed: Wed Apr 25 15:43:48 2012 -0700

----------------------------------------------------------------------
 framework/Cordova/Commands/Contacts.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/df46ac90/framework/Cordova/Commands/Contacts.cs
----------------------------------------------------------------------
diff --git a/framework/Cordova/Commands/Contacts.cs b/framework/Cordova/Commands/Contacts.cs
index 7f30331..d51173e 100644
--- a/framework/Cordova/Commands/Contacts.cs
+++ b/framework/Cordova/Commands/Contacts.cs
@@ -618,7 +618,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
             string jsonContact = String.Format(contactFormatStr, 
                                                con.GetHashCode(), 
                                                con.DisplayName, 
-                                               con.DisplayName,
+                                               con.CompleteName.Nickname,
                                                FormatJSONPhoneNumbers(con), 
                                                FormatJSONEmails(con), 
                                                FormatJSONAddresses(con),


Mime
View raw message