public function indexAction(
        Request $request,
        PaginatorInterface $paginator
    ): Response {
        // Get the production repo.
        $repo = $this->em->getRepository(Production::class);
        $query = $repo->findAllOpenQuery();

        // Paginate and render the list of productions.
        $productions = $paginator->paginate($query, $request->query->getInt('page', 1));

        return new Response($this->templating->render('@BkstgCore/ProductionAdmin/index.html.twig', [
            'productions' => $productions,
        ]));
    }