diff --git a/Site/Pages/v5/Swarm/Json-ListFindPeople.aspx.cs b/Site/Pages/v5/Swarm/Json-ListFindPeople.aspx.cs index 813e114f..9d0fccce 100644 --- a/Site/Pages/v5/Swarm/Json-ListFindPeople.aspx.cs +++ b/Site/Pages/v5/Swarm/Json-ListFindPeople.aspx.cs @@ -42,6 +42,9 @@ namespace Swarmops.Frontend.Pages.Swarm List jsonPeople = new List(); + string editPersonTemplate = + "\"actions\":\"\""; + foreach (Person person in matches) { string onePerson = '{' + @@ -52,7 +55,10 @@ namespace Swarmops.Frontend.Pages.Swarm person.GetSecureAvatarLink (16), JsonSanitize (person.Geography.Name), JsonSanitize (person.Mail), - JsonSanitize (person.Phone)) + '}'; + JsonSanitize (person.Phone)) + "," + + String.Format( + editPersonTemplate, person.Identity) + + '}'; jsonPeople.Add (onePerson); }