You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/04/26 00:44:02 UTC

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

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 <ma...@gmail.com>
Authored: Wed Apr 25 15:43:48 2012 -0700
Committer: filmaj <ma...@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),