Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unterscheidung Teilnehmer-Limit für Vor-Ort und Remote #44

Open
sippsack opened this issue Aug 27, 2022 · 2 comments
Open

Unterscheidung Teilnehmer-Limit für Vor-Ort und Remote #44

sippsack opened this issue Aug 27, 2022 · 2 comments

Comments

@sippsack
Copy link
Contributor

Aufbauend auf #43 muss das Limit je Teilnehmergruppe (Vor-Ort und Remote) unterschiedlich behandelt werden. Im Idealfall haben wir zwei Limits.

Im einfachsten Fall reicht aber im Moment auch, dass sich das Limit auf Vor-Ort bezieht, sobald hybrid=true ist. Da werden in das Limit die Remote-Teilnehmer nicht reingezählt. Remote-Teilnehmer landen somit auch nie auf der Warteliste.

@sippsack
Copy link
Contributor Author

image

In der Anzeige könnte stehen: 10 angemeldet, 20 Plätze noch frei, zusätzlich 15 Remote-Teilnehmer

dasniko added a commit that referenced this issue Sep 20, 2022
…ipants (#44)

this works always, as for non-hybrid events, "remote" attribute is always "false", no matter if it's an onsite or remote event
@dasniko
Copy link
Member

dasniko commented Sep 20, 2022

Ich habe jetzt erst mal die schnelle Variante implementiert, dass ich Remote-Teilnehmer grundsätzlich nicht mitzähle.
(Das funktioniert auch bei reinen Remote-Events, da dann das Attribut "remote" auf "false" steht - das wird nur bei hybriden Events abgefragt)
Die Anzeige, wie viele Plätze frei und bereits angemeldet sind, bezieht sich also nur auf Vor-Ort-Teilnehmer, wenn hybrid, oder auf alle, wenn nicht hybrid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants