KingdomFirst / Excavator

We have now released Bulldozer on GitHub. Bulldozer is the super-powerful big brother to Excavator. Because Bulldozer is now published on GitHub we will no longer be supporting Excavator. Thank you for all the support here!
https://github.com/KingdomFirst/Bulldozer
19 stars 20 forks source link

Custom Person Connection Status #154

Closed BEGamache closed 7 years ago

BEGamache commented 8 years ago

I noticed in People.cs the customConnectionType condition wasn't getting the correct status Id because the memberStatus variable was lowercase and the dv.Value wasn't (assuming Defined Values are uppercase). dv.Value.ToLower() will correct this.

// Lookup others that may be user-defined var customConnectionType = connectionStatusTypes.Where( dv => dv.Value.ToLower() == memberStatus ) .Select( dv => (int?)dv.Id ).FirstOrDefault();

dcs619 commented 8 years ago

@BEGamache good catch!