SalesforceLabs / EnhancedLightningGrid

Component that allows you to sort and filter data within the Lightning Experience. Use as a replacement for a Related List, or create a new grid that shows results from a custom query.
BSD 3-Clause "New" or "Revised" License
136 stars 97 forks source link

Zip codes are missing in Address fields #28

Open npic opened 5 years ago

npic commented 5 years ago

Grids with an address column (e.g. Mailing Address on Contacts) have all underlying address fields formatted in a nice comma-separated fashion, except for the Zip/Postal Code, which is always missing even if the data is there.

Is there a typo in the line referenced below? Shouldn't "statecode" be "postalcode" instead?

https://github.com/SalesforceLabs/EnhancedLightningGrid/blob/5e5c1af116c1bc1aacf69a0aa52c66038ee0e228/aura/sdgDatagridCell/sdgDatagridCellHelper.js#L55