Bug 38201: Fix preservation route

This is not correct, we need to retrieve the first parent with
is_end_node==true (I think)

(cherry picked from commit 98fbdf3d6ee7fde3266d52ffa5f46ed9c2320be1)
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2025-04-08 13:04:13 +02:00 committed by Lucas Gass
parent 9e86e1a5fe
commit ea7b319734
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ export const routes = [
path: ":train_id",
title: $__("Show train"),
is_end_node: true,
resource: "Preservation/TrainResource.vue",
children: [
{
path: "",