projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e2978d
)
Added a field to always return a city ID along with city name.
author
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 25 Jan 2018 19:44:48 +0000
(14:44 -0500)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 25 Jan 2018 19:44:48 +0000
(14:44 -0500)
classes/data/dataMemberInfo.php
patch
|
blob
|
history
diff --git
a/classes/data/dataMemberInfo.php
b/classes/data/dataMemberInfo.php
index
169c5fd
..
914aa92
100644
(file)
--- a/
classes/data/dataMemberInfo.php
+++ b/
classes/data/dataMemberInfo.php
@@
-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',