silverstripe-framework/tests/php/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
..
GridField_URLHandlerTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldAddExistingAutocompleterTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldConfigTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldDetailFormTest NEW: Add GridFieldDetailForm::setRedirectMissingRecords() 2021-05-21 13:16:00 +12:00
GridFieldExportButtonTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldFilterHeaderTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldPrintButtonTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldSortableHeaderTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridField_URLHandlerTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldActionMenuTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldActionTest.yml API Namespace framework tests 2016-11-23 19:25:12 +13:00
GridFieldAddExistingAutocompleterTest.php Linter fixes 2021-05-21 08:30:43 +12:00
GridFieldAddNewButtonTest.php Fix merge error 2017-06-23 09:27:46 +12:00
GridFieldConfigTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldDataColumnsTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldDeleteActionTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldDetailFormTest.php NEW: Add GridFieldDetailForm::setRedirectMissingRecords() 2021-05-21 13:16:00 +12:00
GridFieldDetailFormTest.yml NEW: Add GridFieldDetailForm::setRedirectMissingRecords() 2021-05-21 13:16:00 +12:00
GridFieldEditButtonTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldExportButtonTest.php NEW: Allow league/csv ^9 2020-09-15 17:40:42 +12:00
GridFieldExportButtonTest.yml API Namespace framework tests 2016-11-23 19:25:12 +13:00
GridFieldFilterHeaderTest.php BUG Reset GridFieldFilterHeader grid state when search is cleared (#9829) 2021-01-21 13:47:40 +13:00
GridFieldFilterHeaderTest.yml ADD New search component for GridFields (#1777) 2018-09-04 11:35:17 +12:00
GridFieldGroupDeleteActionTest.php BUGFIX: Allow buttons to opt out of display (#8113) 2018-06-06 21:14:29 +12:00
GridFieldGroupDeleteActionTest.yml BUGFIX: Allow buttons to opt out of display (#8113) 2018-06-06 21:14:29 +12:00
GridFieldLazyLoaderTest.php Expect BEM class names in tests, fix PSR-2 line lengths, add ArrayList import 2018-10-11 12:04:23 +02:00
GridFieldPaginatorTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldPrintButtonTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldReadonlyTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldReadonlyTest.yml Issue 3357 - Add GridField Readonly Transformation 2018-08-29 14:47:06 +12:00
GridFieldSortableHeaderTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldSortableHeaderTest.yml API Namespace framework tests 2016-11-23 19:25:12 +13:00
GridFieldStateManagerTest.php Fix unit test 2020-08-18 10:29:57 +12:00
GridFieldTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
GridFieldTest.yml API Namespace framework tests 2016-11-23 19:25:12 +13:00
GridStateDataTest.php API Only include gridfield state value that differ from the expected default 2020-08-17 12:11:56 +12:00
GridStateTest.php Fix unit test 2020-08-18 10:29:57 +12:00