mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-11 13:39:30 +00:00
Update the mass creation form, so that you can see the newly created entities in dropdown
Fixes issue #1103
This commit is contained in:
parent
065396d1e9
commit
319ac406a8
1 changed files with 3 additions and 0 deletions
|
|
@ -383,6 +383,9 @@ abstract class BaseAdminController extends AbstractController
|
||||||
if (count($results) > 0) {
|
if (count($results) > 0) {
|
||||||
$this->addFlash('success', t('entity.mass_creation_flash', ['%COUNT%' => $created_count]));
|
$this->addFlash('success', t('entity.mass_creation_flash', ['%COUNT%' => $created_count]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Recreate mass creation form, so we get the updated parent list and empty lines
|
||||||
|
$mass_creation_form = $this->createForm(MassCreationForm::class, ['entity_class' => $this->entity_class]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->render($this->twig_template, [
|
return $this->render($this->twig_template, [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue