found the bug! fixed it!
authorArt Cancro <ajc@citadel.org>
Tue, 7 Mar 2017 16:54:43 +0000 (11:54 -0500)
committerArt Cancro <ajc@citadel.org>
Tue, 7 Mar 2017 16:54:43 +0000 (11:54 -0500)
webcit/vcard_edit.c

index 6825f8c58f2b9f4ea96faccbf6fe1763004d6743..3a05145ba88b4e5732a8358ce3814ec35b87748d 100644 (file)
@@ -892,10 +892,7 @@ int vcard_LoadMsgFromServer(SharedMessageStatus * Stat,
 
        memset(&SubTP, 0, sizeof(WCTemplputParams));
        StackContext(TP, &SubTP, abEntry, CTX_VCARD, 0, NULL);
-
-       // ajc 2017mar08: not sure why this was here, it just writes in the wrong part of the screen
-       // DoTemplate(HKEY("vcard_list_name"), WCC->WBuf, &SubTP);
-
+       DoTemplate(HKEY("vcard_list_name"), abEntry->name, &SubTP);             // this puts the indexable contact name in abEntry->name for later sorting/display
        UnStackContext(&SubTP);
 
        if (StrLength(abEntry->name) == 0) {