Bug 41173 - ERM breadcrumb link causes page reload
Summary: ERM breadcrumb link causes page reload
Status: Patch doesn't apply
Alias: None
Product: Koha
Classification: Unclassified
Component: ERM (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Tomás Cohen Arazi (tcohen)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-03 16:20 UTC by Pedro Amorim
Modified: 2025-11-03 18:32 UTC (History)
6 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41173: Fix ERM breadcrumb causing page reload (2.14 KB, patch)
2025-11-03 16:21 UTC, Pedro Amorim
Details | Diff | Splinter Review
Bug 41173: Fix ERM breadcrumb causing page reload (2.07 KB, patch)
2025-11-03 16:21 UTC, Pedro Amorim
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Amorim 2025-11-03 16:20:26 UTC

    
Comment 1 Pedro Amorim 2025-11-03 16:21:13 UTC Comment hidden (obsolete)
Comment 2 Pedro Amorim 2025-11-03 16:21:36 UTC
Created attachment 188984 [details] [review]
Bug 41173: Fix ERM breadcrumb causing page reload

The main ERM route was missing a 'name' property, causing the
navigation store to treat it as an external path (.pl extension).
This resulted in breadcrumb links using href instead of router-link,
causing unwanted page reloads.

To test:
1. Navigate to ERM module
2. Go to any sub-section (Agreements, Licenses, etc.)
3. Click on 'E-resource management' in the breadcrumb
=> FAIL: Notice the page reloads!
4. Apply the patch
5. Repeat steps 1-3
=> SUCCES: Verify the page doesn't reload and navigation works smoothly
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>