mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 09:05:57 +00:00
Only save data changed in the form (#144)
This commit is contained in:
parent
c7a275a7a6
commit
81a524310d
@ -346,7 +346,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
|
|||||||
);
|
);
|
||||||
|
|
||||||
$recordForm->loadDataFrom($recordData);
|
$recordForm->loadDataFrom($recordData);
|
||||||
$recordForm->saveInto($record);
|
$recordForm->saveInto($record, array_keys($recordData));
|
||||||
$id = $record->write();
|
$id = $record->write();
|
||||||
|
|
||||||
array_push($ids, $record->ID);
|
array_push($ids, $record->ID);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user