Closed zeezo887 closed 3 months ago
This allows nested modules to appear in the activities, drafts, count, and search sections of the dashboard.
Usage:
Add the module to the dashboard.modules array of twill/config.php. e.g.
dashboard.modules
twill/config.php
\App\Models\IssueArticle::class => [ 'name' => 'issues.articles', 'label' => 'Articles', 'label_singular' => 'Article', 'count' => true, 'activity' => true, 'draft' => true, 'search' => true, 'search_fields' => ['title', 'description'], 'parentRelationship' => 'issue' ]
Fixes #1697
Description
This allows nested modules to appear in the activities, drafts, count, and search sections of the dashboard.
Usage:
Add the module to the
dashboard.modules
array oftwill/config.php
. e.g.Related Issues
Fixes #1697