Allow to skip loading event enrollment entities for the enrollments counter

Created on 6 May 2024, about 2 months ago
Updated 4 June 2024, 25 days ago

Problem/Motivation

The event page has an enrollments block with a counter of how many people enrolled. This counter is loading event enrollment entities which is unnecessary.

Steps to reproduce

See getEventEnrollmentsByStatus() from modules/social_features/social_event/src/EventEnrollmentStatusHelper.php being used by the token replace function.

Proposed resolution

Add a simple flag to maintain backwards compatibility for now. The flag returns just the IDs to be used for the counter.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

13.0

Component

Code (back-end)

Created by

πŸ‡³πŸ‡±Netherlands bramtenhove

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024