Skip to content

Commit

Permalink
Update event_category.php
Browse files Browse the repository at this point in the history
  • Loading branch information
schorschy committed Nov 24, 2023
1 parent fe3d522 commit 1de9eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/event_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getUrl(): string
return rex_getUrl('', '', ['event-category-id' => $this->getId()]);
}

public function getDateWhere($whereRaw = ''): object
public function getDateWhere($whereRaw = ''): ?rex_yform_manager_collection
{
return event_date::query()->joinRelation('event_category_id', 'c')->where('c.id', $this->getId())->whereRaw($whereRaw)->orderBy('startDate`, `startTime', 'DESC')->find();
}
Expand Down

0 comments on commit 1de9eac

Please sign in to comment.