From d0d2554186ef633693892b226ec2644a3dfbf64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= Date: Fri, 6 Feb 2026 12:30:55 -0300 Subject: [PATCH] Bug 41173: (follow-up) Don't pass params to base routes in breadcrumbs The ERMHome route is a base route that doesn't accept params, but NavigationItem was passing all current route params (license_id, agreement_id, etc.) to it, causing Vue Router errors. Fix by checking if the route is a base route (is_base flag) and passing an empty params object in that case. Test plan: 1. Run Cypress tests: yarn cypress run 2. Verify AdditionalFields_spec.ts now passes all 12 tests 3. Navigate to ERM module and verify breadcrumbs work correctly --- .../intranet-tmpl/prog/js/vue/components/NavigationItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue index 59597e4997..3488e35479 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/NavigationItem.vue @@ -3,7 +3,7 @@