-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX ModelAdmin::$model_importers alias support
Hasn't been considered when introducing aliases rather than class names in $managed_models. Fixed a regression from when we introduced $modelTab. This is backwards compatible since $modelTab falls back to $modelClass. Also improved $model_importers to fall back to the default per model, rather than requiring definition of *all* models on a non-null value.
- Loading branch information
Showing
4 changed files
with
106 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace SilverStripe\Admin\Tests\ModelAdminTest; | ||
|
||
use SilverStripe\Dev\CsvBulkLoader; | ||
|
||
class ModelAdminTestBulkLoader extends CsvBulkLoader | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters