From a76b9a486c1770573be502b89c2346afa54be1c4 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 9 Apr 2018 15:25:36 -0400 Subject: [PATCH] Update get city call to use data abstract for all cities. Don't filter the list of cities. --- models/front/events/list.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'] ) ) { -- 2.17.1