https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41173

--- Comment #19 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 192652
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192652&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to