Fix error with retrieving HC and CD references and add LBC
This commit is contained in:
parent
a20caf1fc8
commit
45a3398ac7
@ -42,20 +42,22 @@ class DefaultController extends AbstractController
|
|||||||
|
|
||||||
$creeds = $emi->getRepository(Reference::class)->findByType('creed');
|
$creeds = $emi->getRepository(Reference::class)->findByType('creed');
|
||||||
$belgic = $emi->getRepository(Reference::class)->findByType('belgic');
|
$belgic = $emi->getRepository(Reference::class)->findByType('belgic');
|
||||||
$heidelberg = $emi->getRepository(Reference::class)->findByType('heidelberg');
|
$heidelberg = $emi->getRepository(Reference::class)->findByType('hc');
|
||||||
$dort = $emi->getRepository(Reference::class)->findByType('dort');
|
$dort = $emi->getRepository(Reference::class)->findByType('cd');
|
||||||
$wcf = $emi->getRepository(Reference::class)->findByType('wcf');
|
$wcf = $emi->getRepository(Reference::class)->findByType('wcf');
|
||||||
$wsc = $emi->getRepository(Reference::class)->findByType('wsc');
|
$wsc = $emi->getRepository(Reference::class)->findByType('wsc');
|
||||||
$wlc = $emi->getRepository(Reference::class)->findByType('wlc');
|
$wlc = $emi->getRepository(Reference::class)->findByType('wlc');
|
||||||
|
$lbc = $emi->getRepository(Reference::class)->findByType('lbc');
|
||||||
|
|
||||||
return $this->render('editors/reference-editor.html.twig', [
|
return $this->render('editors/reference-editor.html.twig', [
|
||||||
'creeds' => $creeds,
|
'creeds' => ($creeds),
|
||||||
'belgic' => $belgic,
|
'belgic' => ($belgic),
|
||||||
'heidelberg' => $heidelberg,
|
'heidelberg' => ($heidelberg),
|
||||||
'dort' => $dort,
|
'dort' => ($dort),
|
||||||
'wcf' => $wcf,
|
'wcf' => ($wcf),
|
||||||
'wsc' => $wsc,
|
'wsc' => ($wsc),
|
||||||
'wlc' => $wlc
|
'wlc' => ($wlc),
|
||||||
|
'lbc' => ($lbc),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user