svthalia / concrexit

Thalia Website built on Django.
https://thalia.nu
Other
22 stars 12 forks source link

"Put me on waiting list" #332

Closed thaliawww-service closed 4 years ago

thaliawww-service commented 4 years ago

In GitLab by @thomwiggers on Feb 14, 2017, 09:55

Als je je registreert voor een evenement en je dan afmeldt voor dat evenement, zegt de knop "zet me op de wachtrij", ook als het evenement niet vol zit.

thaliawww-service commented 4 years ago

In GitLab by @joostrijneveld on Feb 14, 2017, 09:56

Is het gedrag wel goed? Dwz wordt je wel aangemeld?

thaliawww-service commented 4 years ago

In GitLab by @se-bastiaan on Feb 14, 2017, 09:56

mmmmmm.

Screen_Shot_2017-02-14_at_09.55.45

    def reached_participants_limit(self):
        return (self.max_participants is not None and
                self.max_participants <= self.registration_set.count())

Hij neemt gecancelde registraties mee om te bepalen of ie volzit

thaliawww-service commented 4 years ago

In GitLab by @se-bastiaan on Feb 14, 2017, 10:00

Volgens mij moet ie zo zijn: https://gitlab.science.ru.nl/thalia/concrexit/commit/4c38aa1bb803e29914a7c13832f2bfb423aaf881

Het gedrag klopt wel, want hij maakt gewoon een registratie als t goed is. Dit is alleen een stukje tekst. reached_participants_limit wordt nergens anders gebruikt ook.

thaliawww-service commented 4 years ago

In GitLab by @se-bastiaan on Feb 14, 2017, 10:09

assigned to @se-bastiaan

thaliawww-service commented 4 years ago

In GitLab by @joostrijneveld on Feb 14, 2017, 20:22

closed via commit 26dc580dd3aa2c82cc7bdfec696d9c009f678bb6

thaliawww-service commented 4 years ago

In GitLab by @joostrijneveld on Feb 14, 2017, 20:22

closed via merge request !365

thaliawww-service commented 4 years ago

In GitLab by @joostrijneveld on Feb 25, 2017, 16:27

mentioned in commit 26dc580dd3aa2c82cc7bdfec696d9c009f678bb6