add keywords during publishing

This commit is contained in:
Arno Kaimbacher 2019-03-18 14:32:29 +01:00
parent f3f17d9371
commit d9b26afb3f
13 changed files with 332 additions and 96 deletions

View file

@ -7,6 +7,7 @@ use App\Models\License;
use App\Models\Person;
use App\Models\File;
use App\Models\GeolocationBox;
use App\Models\Subject;
/**
* DatasetExtension short summary.
@ -53,6 +54,11 @@ trait DatasetExtension
'relation' => 'contributors',
'fetch' => 'eager'
),
'Subject' => array(
'model' => Subject::class,
'relation' => 'subjects',
'fetch' => 'eager'
),
'File' => array(
'model' => File::class,
'relation' => 'files',