forked from geolba/tethys.backend
- extend edit form for submitter
- corrected releasUpdate action for submitter - npm updates
This commit is contained in:
parent
4e97e47fbc
commit
5ce4f0b018
7 changed files with 267 additions and 55 deletions
|
@ -589,7 +589,7 @@ export default class DatasetController {
|
|||
|
||||
public async edit({ params, inertia }) {
|
||||
const datasetQuery = Dataset.query().where('id', params.id);
|
||||
datasetQuery.preload('titles');
|
||||
datasetQuery.preload('titles').preload('descriptions').preload('coverage');
|
||||
const dataset = await datasetQuery.firstOrFail();
|
||||
|
||||
// await dataset.loadMany([
|
||||
|
@ -669,7 +669,7 @@ export default class DatasetController {
|
|||
return inertia.render('Submitter/Dataset/Edit', {
|
||||
dataset,
|
||||
titletypes: titleTypes,
|
||||
descriptionTypes,
|
||||
descriptiontypes: descriptionTypes,
|
||||
contributorTypes,
|
||||
nameTypes,
|
||||
languages,
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue