Allow to skip loading event enrollment entities for the enrollments counter

Created on 6 May 2024, 11 months ago
Updated 4 June 2024, 10 months 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.71.5 2024