silverstripe-framework/forms/gridfield
Matthew Hailwood 5810ecf7b9 Populate foreign key before getting CMS fields
In it's current state you need to revert to something like `Session::get('CMSMain.currentPage')` to get the foreign key of what the item you are creating relates to (e.g. a Book => has_many Author) - if you create a new Author you may need to reference the owning Book in the `getCMSFields` function.

This is just a small quality of life buff that populates that foreign key before calling `getCMSFields()` rather than after.

This should not break backwards compatibility in any way and isn't exactly a new feature so could be considered a bug fix.
2016-02-28 20:56:10 +13:00
..
GridField.php [ss-2016-002] Ensure Gridfield actions respect CSRF 2016-02-18 17:28:54 +13:00
GridFieldAddExistingAutocompleter.php FIX. Placeholder isn't completely translated 2015-01-15 14:15:03 +13:00
GridFieldAddNewButton.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldButtonRow.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldComponent.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldConfig.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldDataColumns.php MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
GridFieldDeleteAction.php Revert "GridFieldDeleteAction missing button text without icons" 2015-06-19 17:43:05 +12:00
GridFieldDetailForm.php Populate foreign key before getting CMS fields 2016-02-28 20:56:10 +13:00
GridFieldEditButton.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldExportButton.php MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
GridFieldFilterHeader.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldFooter.php Merge remote-tracking branch 'origin/3.1' 2014-11-18 12:45:54 +13:00
GridFieldLevelup.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldPageCount.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldPaginator.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldPrintButton.php BUG Fix print button only displaying first page 2015-11-12 14:59:08 +13:00
GridFieldSortableHeader.php MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
GridFieldToolbarHeader.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GridFieldViewButton.php Updating @package and @subpackage doc tags 2013-11-29 17:49:30 +13:00
GridState.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00