-
Notifications
You must be signed in to change notification settings - Fork 65
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
page stats de l'admin : on permet de choisis l'event comparé via l'URL #1440
Conversation
réponds partiellement au #1186 cela permet de comparer des événements qui ne sont pas forcément l'événement n-1, ce qui est utile pour les AFUP Day
sources/Afup/Forum/Inscriptions.php
Outdated
@@ -81,10 +81,12 @@ public function getRegistrationsByReference($reference) | |||
return $registrations; | |||
} | |||
|
|||
function obtenirSuivi($id_forum) | |||
function obtenirSuivi($id_forum, $id_forum_precedent = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ajouter les types au passage via au moins la PHPDoc nous permettrai de faciliter plus tard les updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bien joué @agallou !
sources/Afup/Forum/Inscriptions.php
Outdated
{ | ||
$forum = new Forum($this->_bdd); | ||
$id_forum_precedent = $forum->obtenirForumPrecedent($id_forum); | ||
if (null === $id_forum_precedent) { | ||
$id_forum_precedent = $forum->obtenirForumPrecedent($id_forum); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On ne la mettrai pas en camelCase
au passage ?
réponds partiellement au #1186
cela permet de comparer des événements qui ne sont pas forcément l'événement n-1, ce qui est utile pour les AFUP Day