mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-13 02:38:34 +01: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:
@@ -383,6 +383,9 @@ abstract class BaseAdminController extends AbstractController
|
||||
if (count($results) > 0) {
|
||||
$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, [
|
||||
|
||||
Reference in New Issue
Block a user