From: Steve Sutton Date: Mon, 9 Apr 2018 19:25:36 +0000 (-0400) Subject: Update get city call to use data abstract for all cities. X-Git-Tag: v1.6.79~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a76b9a486c1770573be502b89c2346afa54be1c4;p=WP-Plugins%2Fglm-member-db-events.git Update get city call to use data abstract for all cities. Don't filter the list of cities. --- diff --git a/models/front/events/list.php b/models/front/events/list.php index 39fd7a0..f157589 100644 --- a/models/front/events/list.php +++ b/models/front/events/list.php @@ -75,9 +75,9 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction // get list cities to search by - require_once GLM_MEMBERS_EVENTS_PLUGIN_CLASS_PATH.'/data/dataEvents.php'; - $cities = new GlmDataEvents($this->wpdb, $this->config); - $cityData = $cities->getEventsCities(true); + require_once GLM_MEMBERS_PLUGIN_CLASS_PATH.'/data/dataCities.php'; + $cities = new GlmDataCities($this->wpdb, $this->config); + $cityData = $cities->getList(); // If there's a pageslug as attribute then update the pageSlug if ( isset ( $actionData['request']['pageslug'] ) ) {