Updated getRedirectUrl func. in create quality_validations page
This commit is contained in:
@@ -95,7 +95,11 @@ class CreateQualityValidation extends CreateRecord
|
||||
|
||||
protected function getRedirectUrl(): string
|
||||
{
|
||||
return $this->getResource()::getUrl('create'); // Stay on Create Page after saving
|
||||
//return $this->getResource()::getUrl('create'); // Stay on Create Page after saving
|
||||
|
||||
return $this->getResource()::getUrl('create', [
|
||||
'plant_id' => $this->data['plant_id'] ?? null,
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user