From f4d6c415984f24f4cbc665c9f823c4508ac4f643 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 3 Jul 2018 08:40:32 -0400 Subject: [PATCH] Correcting the city for the changes in the data class. Since the force_list is turned off the city is now just a string. --- views/admin/ajax/contactsListExport.html | 2 +- views/admin/ajax/contactsListExportCsv.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/admin/ajax/contactsListExport.html b/views/admin/ajax/contactsListExport.html index ffbd14f..69d4072 100644 --- a/views/admin/ajax/contactsListExport.html +++ b/views/admin/ajax/contactsListExport.html @@ -43,7 +43,7 @@ {if $select.exportLname}{$m.lname}{/if} {if $select.exportAddr1}{$m.addr1}{/if} {if $select.exportAddr2}{$m.addr2}{/if} - {if $select.exportCity}{if $m.city}{$m.city.name}{/if}{/if} + {if $select.exportCity}{$m.city}{/if} {if $select.exportCounty}{$m.county}{/if} {if $select.exportState}{if $m.state}{$m.state.value}{/if}{/if} {if $select.exportZip}{$m.zip}{/if} diff --git a/views/admin/ajax/contactsListExportCsv.html b/views/admin/ajax/contactsListExportCsv.html index c45eba3..b6cf197 100644 --- a/views/admin/ajax/contactsListExportCsv.html +++ b/views/admin/ajax/contactsListExportCsv.html @@ -27,7 +27,7 @@ {if $select.exportLname}"{$m.lname}",{/if} {if $select.exportAddr1}"{$m.addr1}",{/if} {if $select.exportAddr2}"{$m.addr2}",{/if} -{if $select.exportCity}"{if $m.city}{$m.city.name}{/if}",{/if} +{if $select.exportCity}"{$m.city}",{/if} {if $select.exportCounty}"{$m.county}",{/if} {if $select.exportState}"{if $m.state}{$m.state.value}{/if}",{/if} {if $select.exportZip}"{$m.zip}",{/if} -- 2.17.1