update solr index
This commit is contained in:
parent
7c6654398d
commit
535a9363cc
18 changed files with 773 additions and 90 deletions
|
@ -26,16 +26,17 @@ class Dataset extends Model
|
|||
const UPDATED_AT = 'server_date_modified';
|
||||
const PUBLISHED_AT = 'server_date_published';
|
||||
|
||||
protected $fillable = [
|
||||
'type',
|
||||
'language',
|
||||
'server_state',
|
||||
'creating_corporation',
|
||||
'project_id',
|
||||
'embargo_date',
|
||||
'belongs_to_bibliography',
|
||||
];
|
||||
/**
|
||||
// protected $fillable = [
|
||||
// 'type',
|
||||
// 'language',
|
||||
// 'server_state',
|
||||
// 'creating_corporation',
|
||||
// 'project_id',
|
||||
// 'embargo_date',
|
||||
// 'belongs_to_bibliography',
|
||||
// ];
|
||||
protected $guarded = [];
|
||||
/**
|
||||
* The attributes that should be mutated to dates.
|
||||
*
|
||||
* @var array
|
||||
|
@ -54,6 +55,11 @@ class Dataset extends Model
|
|||
// $this->_init();
|
||||
}
|
||||
|
||||
// public function setUpdatedAt($value)
|
||||
// {
|
||||
// $this->{static::UPDATED_AT} = $value;
|
||||
// }
|
||||
|
||||
/**
|
||||
* Get the geolocation that owns the dataset.
|
||||
*/
|
||||
|
@ -62,6 +68,8 @@ class Dataset extends Model
|
|||
return $this->hasOne(GeolocationBox::class, 'dataset_id', 'id');
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get the project that the dataset belongs to.
|
||||
*/
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue