Added a field to always return a city ID along with city name.
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 25 Jan 2018 19:44:48 +0000 (14:44 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 25 Jan 2018 19:44:48 +0000 (14:44 -0500)
classes/data/dataMemberInfo.php

index 169c5fd..914aa92 100644 (file)
@@ -246,6 +246,14 @@ class GlmDataMemberInfo extends GlmDataAbstract
                 'use' => 'a'
             ),
 
+            // City
+            'city_id' => array (
+                'field' => 'city',
+                'as'    => 'city_id',
+                'type' => 'integer',
+                'use' => 'gl'
+            ),
+
             // State
             'state' => array (
                 'field' => 'state',