From ea7b319734ffb9d2cb0c9f74bf5b57770b781478 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 8 Apr 2025 13:04:13 +0200 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/js/vue/routes/preservation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/preservation.js b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/preservation.js index 592c1c4416..88114e00b8 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/preservation.js +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/preservation.js @@ -49,6 +49,7 @@ export const routes = [ path: ":train_id", title: $__("Show train"), is_end_node: true, + resource: "Preservation/TrainResource.vue", children: [ { path: "",