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

page stats de l'admin : on permet de choisis l'event comparé via l'URL #1440

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

agallou
Copy link
Member

@agallou agallou commented Feb 4, 2024

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

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
@@ -81,10 +81,12 @@ public function getRegistrationsByReference($reference)
return $registrations;
}

function obtenirSuivi($id_forum)
function obtenirSuivi($id_forum, $id_forum_precedent = null)
Copy link
Contributor

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

Copy link
Contributor

@vinceAmstoutz vinceAmstoutz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bien joué @agallou !

{
$forum = new Forum($this->_bdd);
$id_forum_precedent = $forum->obtenirForumPrecedent($id_forum);
if (null === $id_forum_precedent) {
$id_forum_precedent = $forum->obtenirForumPrecedent($id_forum);
Copy link
Contributor

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 ?

@agallou agallou merged commit 9948b3a into master Feb 13, 2024
6 of 8 checks passed
@agallou agallou deleted the comparaison_evenements branch February 13, 2024 21:00
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

Successfully merging this pull request may close these issues.

3 participants