Skip to content

Commit 881225e

Browse files
author
Chris Gårdenberg
committed
- chg: Added Sessions to expand of events
1 parent c97fc81 commit 881225e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/eduapi-helper-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function GetCourseDetailInfo( $course_id, $fetch_months, $group_by_city )
4343
' and StartDate le ' . date( 'c', strtotime( 'now 23:59:59 +' . $fetch_months . ' months' ) ) .
4444
' and EndDate ge ' . date( 'c', strtotime( 'now' ) ) .
4545
';' .
46-
'$expand=PriceNames($filter=PublicPriceName;$select=PriceNameId,PriceNameDescription,Price,MaxParticipantNumber,NumberOfParticipants,DiscountPercent;),EventDates($orderby=StartDate;$select=StartDate,EndDate;),PaymentMethods' .
46+
'$expand=PriceNames($filter=PublicPriceName;$select=PriceNameId,PriceNameDescription,Price,MaxParticipantNumber,NumberOfParticipants,DiscountPercent;),EventDates($orderby=StartDate;$select=StartDate,EndDate;),Sessions($expand=PriceNames($filter=PublicPriceName;);$filter=HasPublicPriceName;),PaymentMethods' .
4747
';' .
4848
'$orderby=StartDate asc' . ( $group_by_city ? ', City asc' : '' ) .
4949
';' .

0 commit comments

Comments
 (0)