adding cityid to the default switch case in the front list model
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Jan 2018 19:22:47 +0000 (14:22 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Jan 2018 19:22:47 +0000 (14:22 -0500)
need to add the city to the front list default switch case for
front list model

models/front/events/list.php

index b07e108..e41208e 100644 (file)
@@ -711,7 +711,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction
             if ( !$view ) {
                 $view = 'agenda.html';
             }
-            $events = $this->getModelEventsData( $categoryId, null, $memberId, $amenityId, $venueId );
+            $events = $this->getModelEventsData( $categoryId, null, $memberId, $amenityId, $venueId, $cityId );
             $this->postAddRecurrences = false;
             $this->postAddLocations   = false;
             break;