diff --git a/site/blueprints/pages/event.yml b/site/blueprints/pages/event.yml index c8b04a6..8d23783 100644 --- a/site/blueprints/pages/event.yml +++ b/site/blueprints/pages/event.yml @@ -14,9 +14,9 @@ tabs: when: isMapadoEvent: true width: 1/4 - category: + categories: label: Catégorie - type: select + type: multiselect width: 1/4 options: type: query diff --git a/site/controllers/program.php b/site/controllers/program.php index 6167cc0..c1fad68 100644 --- a/site/controllers/program.php +++ b/site/controllers/program.php @@ -39,7 +39,7 @@ function createArraySession($event, $session) { $arraySession['bookableStock'] = $isMapadoEvent ? $session->bookableStock()->value() : 'free'; $arraySession['totalStock'] = $isMapadoEvent ? (int) $event->totalStock()->value() : 'free'; $arraySession['color'] = $event->color(); - $arraySession['category'] = $event->category(); + $arraySession['categories'] = $event->categories(); return $arraySession; diff --git a/site/templates/program.php b/site/templates/program.php index 2ce0cf7..e0d2d1b 100644 --- a/site/templates/program.php +++ b/site/templates/program.php @@ -79,7 +79,7 @@ throw new Exception($session['title'], 1); } ?> -