- Issue created by @simonknight
- First commit to issue fork.
- @plopesc opened merge request.
- 🇪🇸Spain plopesc Valladolid
Created MR with suggested changes. Could you please confirm that works as expected?
The event registration reminders go to all registered people at the moment, regardless of whether they are waitlisted or not
In file recurring_events/modules/recurring_events_registration/modules/recurring_events_reminders/recurring_events_reminders.module line: 156.
Change: $registrants = $registration_creation_service->retrieveRegisteredParties();
To: $registrants = $registration_creation_service->retrieveRegisteredParties(TRUE, FALSE);
Background info:
From recurring_events/modules/recurring_events_registration/src/RegistrationCreationService.php line 170 onwards
/**
* Retrieve all registered parties.
*
* @param bool $include_nonwaitlisted
* Whether or not to include non-waitlisted registrants.
* @param bool $include_waitlisted
* Whether or not to include waitlisted registrants.
* @param int $uid
* The user ID for whom to retrieve registrants.
*
* @return array
* An array of registrants.
*/
public function retrieveRegisteredParties($include_nonwaitlisted = TRUE, $include_waitlisted = TRUE, $uid = FALSE) { ....
Active
2.0
Recurring Events Reminders (Submodule)
Created MR with suggested changes. Could you please confirm that works as expected?