- bug release: oai-dc: doi identifier into dec:relations; oai-datacite: support translated abstract
- composer updates
This commit is contained in:
parent
995967b734
commit
526b48b06e
4 changed files with 118 additions and 111 deletions
|
@ -39,7 +39,7 @@ trait DatasetExtension
|
|||
),
|
||||
'TitleAbstractAdditional' => array(
|
||||
'model' => Description::class,
|
||||
'options' => array('type' => ['Methods', 'Technical_info', 'Series_information', 'Other']),
|
||||
'options' => array('type' => ['Translated', 'Methods', 'Technical_info', 'Series_information', 'Other']),
|
||||
'fetch' => 'eager'
|
||||
),
|
||||
'Licence' => array(
|
||||
|
@ -298,7 +298,8 @@ trait DatasetExtension
|
|||
//$through = $this->externalFields[$fieldname]['through'];
|
||||
$rows = $this->{$relation}()->wherePivot('role', $pivotValue)->get();
|
||||
//$rows = $this->{$relation}()->get();
|
||||
//$rows = $this->belongsToMany($modelclass, $through, 'document_id')->wherePivot('role', $pivotValue)->get();
|
||||
//$rows = $this->belongsToMany($modelclass, $through, 'document_id')
|
||||
//->wherePivot('role', $pivotValue)->get();
|
||||
}
|
||||
} else {
|
||||
$rows = $select->whereHas('dataset', function ($q) use ($datasetId) {
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue