- added route for showing map with all bounding boxes
All checks were successful
CI Pipeline / japa-tests (push) Successful in 50s

- npm updates
- new Map.vue
This commit is contained in:
Kaimbacher 2023-10-20 15:26:25 +02:00
parent cf859ba402
commit 2360a81d1e
4 changed files with 334 additions and 148 deletions

View file

@ -30,7 +30,7 @@ export default class DatasetsController {
public async edit({}: HttpContextContract) {}
// public async update({}: HttpContextContract) {}
public async update({ request, response }) {
public async update({ response }) {
const id = 273; //request.param('id');
const dataset = await Dataset.query().preload('xmlCache').where('id', id).firstOrFail();
// add xml elements
@ -131,7 +131,7 @@ export default class DatasetsController {
// Update the document
var test = await client.index({
id: dataset.publish_id,
id: dataset.publish_id?.toString(),
index: index_name,
body: document,
refresh: true,