Skip to content

Commit

Permalink
correction affichage durée de la conf et niveau dans le listing des c…
Browse files Browse the repository at this point in the history
…onférences soumises par le conférencié dans la page CFP. (#993)

Augmentation de la limite du nombre de conférence affichée à 20 dans la page CFP.
  • Loading branch information
macintoshplus authored Jul 7, 2020
1 parent a2ff2de commit e84c51a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/AppBundle/Event/Model/Repository/TalkRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public function getNumberOfTalksByEventAndLanguage(Event $event, $languageCode =
public function getTalksBySpeaker(Event $event, Speaker $speaker)
{
$query = $this->getPreparedQuery(
'SELECT sessions.session_id, titre, abstract, id_forum, sessions.plannifie
'SELECT sessions.session_id, titre, abstract, id_forum, sessions.plannifie, skill, genre
FROM afup_sessions sessions
LEFT JOIN afup_conferenciers_sessions cs ON cs.session_id = sessions.session_id
WHERE id_forum = :event AND cs.conferencier_id = :speaker
ORDER BY titre
LIMIT 0, 10
LIMIT 0, 20
'
)->setParams(['event' => $event->getId(), 'speaker' => $speaker->getId()]);

Expand All @@ -69,7 +69,7 @@ public function getTalksBySpeaker(Event $event, Speaker $speaker)
public function getPreviousTalksBySpeaker(Event $event, Speaker $speaker)
{
$query = $this->getPreparedQuery(
'SELECT s.session_id, s.titre, s.abstract, s.id_forum, s.plannifie
'SELECT s.session_id, s.titre, s.abstract, s.id_forum, s.plannifie, s.skill, s.genre
FROM afup_sessions s
JOIN afup_conferenciers_sessions cs ON cs.session_id = s.session_id
JOIN afup_conferenciers c ON cs.conferencier_id = c.conferencier_id
Expand Down

0 comments on commit e84c51a

Please sign in to comment.