- 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
|
@ -129,6 +129,7 @@ class RequestController extends Controller
|
|||
$this->proc->setParameter('', 'repURL', url('/'));
|
||||
$this->proc->setParameter('', 'downloadLink', url('/') . '/file/download/');
|
||||
$this->proc->setParameter('', 'doiLink', 'https://doi.org/');
|
||||
$this->proc->setParameter('', 'doiPrefix', 'info:eu-repo/semantics/altIdentifier/doi/');
|
||||
|
||||
// $resumptionPath = $this->configuration->getResumptionTokenPath();
|
||||
|
||||
|
@ -436,7 +437,7 @@ class RequestController extends Controller
|
|||
$q->where('label', $setarray[1]);
|
||||
});
|
||||
}
|
||||
} elseif (!empty($setarray[0]) && $setarray[0] == 'open_access') {
|
||||
} elseif (!empty($setarray[0]) && $setarray[0] == 'open_access') {
|
||||
$openAccessLicences = ["CC-BY-4.0", "CC-BY-SA-4.0"];
|
||||
$finder->whereHas('licenses', function ($q) use ($openAccessLicences) {
|
||||
$q->whereIn('name', $openAccessLicences);
|
||||
|
|
|
@ -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