silverstripe-framework/src/Forms/GridField
Sam Minnee 8883413ba7 NEW: Add GridFieldDetailForm::setRedirectMissingRecords()
This new opt-in setting will let grid field detail forms redirect to the
“Correct” URL of a GridField if it’s not found in the current list.

This works by:
 * Looking for the item in the database
 * If it exists, check for a CMSEditLink() method that returns a value
 * If so, redirect to that

This is useful if you have a number of grid fields that each show a
partial list of records, and it’s possible for the user to make changes
such the item no longer appears in the list, but does appear in another
list.

It’s an opt-in feature as I think all changes like this should be
opt-in, based on previous experiences improving GridField and in turn
breaking SecurityAdmin and slowing versioned-data-browsing down. ;-)
2021-05-21 13:16:00 +12:00
..
FormAction FIX Switching to use Controller::curr as it was using previously 2018-11-30 15:40:45 +13:00
GridField_ActionMenu.php remove unused class import Convert 2021-03-22 14:34:13 +00:00
GridField_ActionMenuItem.php BUGFIX: Allow buttons to opt out of display (#8113) 2018-06-06 21:14:29 +12:00
GridField_ActionMenuLink.php Create GridField Actions Menu component (#8083) 2018-05-29 16:10:52 +12:00
GridField_ActionProvider.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
GridField_ColumnProvider.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
GridField_DataManipulator.php MINOR Correct GridField_DataManipulator PHPDOC to not assume DataList 2018-10-11 12:06:21 +13:00
GridField_FormAction.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridField_HTMLProvider.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
GridField_SaveHandler.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
GridField_StateProvider.php API Only include gridfield state value that differ from the expected default 2020-08-17 12:11:56 +12:00
GridField_URLHandler.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
GridField.php API Only include gridfield state value that differ from the expected default 2020-08-17 12:11:56 +12:00
GridFieldAddExistingAutocompleter.php FIX Retain custom sort on custom lists in GridFieldAddExistingAutoCompleter 2020-08-04 22:02:20 +12:00
GridFieldAddNewButton.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldButtonRow.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldComponent.php PSR2: Whitespace-only changes 2016-11-29 12:31:16 +13:00
GridFieldConfig_Base.php ADD New search component for GridFields (#1777) 2018-09-04 11:35:17 +12:00
GridFieldConfig_RecordEditor.php NEW Port betterbuttons to framework (#8569) 2018-11-19 11:06:47 +13:00
GridFieldConfig_RecordViewer.php Lint fixes and allow a few other components by default 2018-09-20 13:32:52 +12:00
GridFieldConfig_RelationEditor.php Create GridField Actions Menu component (#8083) 2018-05-29 16:10:52 +12:00
GridFieldConfig.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
GridFieldDataColumns.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
GridFieldDeleteAction.php FIX GridField delete button to offer archive action if possible (#8325) 2018-08-24 13:13:32 +12:00
GridFieldDetailForm_ItemRequest.php NEW: Add GridFieldDetailForm::setRedirectMissingRecords() 2021-05-21 13:16:00 +12:00
GridFieldDetailForm.php NEW: Add GridFieldDetailForm::setRedirectMissingRecords() 2021-05-21 13:16:00 +12:00
GridFieldEditButton.php BUGFIX: Allow state to be shared across nested GridFields 2019-08-07 23:09:51 +12:00
GridFieldExportButton.php NEW: Allow league/csv ^9 2020-09-15 17:40:42 +12:00
GridFieldFilterHeader.php BUG Reset GridFieldFilterHeader grid state when search is cleared (#9829) 2021-01-21 13:47:40 +13:00
GridFieldFooter.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldGroupDeleteAction.php BUGFIX: Allow buttons to opt out of display (#8113) 2018-06-06 21:14:29 +12:00
GridFieldImportButton.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldLazyLoader.php Implement Peer review feedback #8460 2018-10-11 14:56:06 +13:00
GridFieldLevelup.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldPageCount.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldPaginator.php API Only include gridfield state value that differ from the expected default 2020-08-17 12:11:56 +12:00
GridFieldPrintButton.php Fix the phpdoc blocks 2020-12-21 22:23:23 +01:00
GridFieldSortableHeader.php API Only include gridfield state value that differ from the expected default 2020-08-17 12:11:56 +12:00
GridFieldStateAware.php BUGFIX: Allow state to be shared across nested GridFields 2019-08-07 23:09:51 +12:00
GridFieldStateManager.php Fix unit test 2020-08-18 10:29:57 +12:00
GridFieldStateManagerInterface.php BUGFIX: Allow state to be shared across nested GridFields 2019-08-07 23:09:51 +12:00
GridFieldToolbarHeader.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldVersionedState.php Update deprecation PHPDocs to be PSR-5 compliant 2018-09-28 10:49:14 +02:00
GridFieldViewButton.php FIX Improve GridFieldViewButton to work with new Archive Admin (#8240) 2018-07-13 10:45:13 +12:00
GridState_Component.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridState_Data.php API Only include gridfield state value that differ from the expected default 2020-08-17 12:11:56 +12:00
GridState.php Make sure GridState always outputs a JSON Object string 2020-08-17 23:23:42 +12:00