We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d8bd0 commit 0a76c38Copy full SHA for 0a76c38
src/PHPFUI/ORM/Children.php
@@ -20,7 +20,11 @@ class Children extends \PHPFUI\ORM\VirtualField
20
{
21
public function delete(array $parameters) : void
22
23
- $this->getTable(\array_shift($parameters))->delete();
+ $table = $this->getTable(\array_shift($parameters));
24
+ foreach ($table->getRecordCursor() as $record)
25
+ {
26
+ $record->delete();
27
+ }
28
}
29
30
/**
0 commit comments