Only save data changed in the form (#144)

This commit is contained in:
Rob Ingram 2017-07-03 18:19:42 +12:00 committed by Thierry François
parent c7a275a7a6
commit 81a524310d

View File

@ -346,7 +346,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
);
$recordForm->loadDataFrom($recordData);
$recordForm->saveInto($record);
$recordForm->saveInto($record, array_keys($recordData));
$id = $record->write();
array_push($ids, $record->ID);