Bug 41355

Summary: No 'show' view for record sources
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Matt Blenkinsop <matt.blenkinsop>
Status: Pushed to main --- QA Contact: Testopia <testopia>
Severity: blocker    
Priority: P5 - low CC: david, lucas
Version: unspecifiedKeywords: rel_25_11_candidate
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This fixes the list of record sources (Administration > Catalog > Record sources) - it removes the links from entries in the name column (all the link did was reload the page).
Version(s) released in:
25.11.00
Circulation function:
Bug Depends on: 38201, 41354    
Bug Blocks:    
Attachments: Bug 41355: Handle vue resources with no Show component
Bug 41355: Handle vue resources with no Show component
Bug 41355: Handle vue resources with no Show component
Bug 41355: Handle vue resources with no Show component

Description Jonathan Druart 2025-12-02 13:08:48 UTC
http://localhost:8081/cgi-bin/koha/admin/record_sources
Create a new record source
=> The "Name" column is a link to /admin/record_sources
Comment 1 Matt Blenkinsop 2025-12-02 14:18:33 UTC
Created attachment 190082 [details] [review]
Bug 41355: Handle vue resources with no Show component
Comment 2 Matt Blenkinsop 2025-12-02 14:21:15 UTC
Created attachment 190085 [details] [review]
Bug 41355: Handle vue resources with no Show component

Test plan:
1) Navigate to record sources and create a record source
2) In the table there will be a hyperlink on the record source name which shouldn't be there
3) Apply patch and rebuild javascript
4) Hard refresh and then observe that the table should no longer have a hyperlink
Comment 3 David Nind 2025-12-02 19:34:56 UTC
Created attachment 190094 [details] [review]
Bug 41355: Handle vue resources with no Show component

Test plan:
1) Navigate to record sources and create a record source
2) In the table there will be a hyperlink on the record source name which shouldn't be there
3) Apply patch and rebuild javascript
4) Hard refresh and then observe that the table should no longer have a hyperlink

Signed-off-by: David Nind <david@davidnind.com>
Comment 4 David Nind 2025-12-02 19:38:42 UTC
Testing notes (using KTD):

1. Bug 41354 needs to be applied first, otherwise the page sites on "Loading" and you cannot see the table.

2. Apply the patch, yarn build, then restart_all
Comment 5 Tomás Cohen Arazi (tcohen) 2025-12-03 13:11:09 UTC
Created attachment 190106 [details] [review]
Bug 41355: Handle vue resources with no Show component

Test plan:
1) Navigate to record sources and create a record source
2) In the table there will be a hyperlink on the record source name which shouldn't be there
3) Apply patch and rebuild javascript
4) Hard refresh and then observe that the table should no longer have a hyperlink

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Comment 6 Lucas Gass (lukeg) 2025-12-03 15:29:18 UTC
Nice work everyone!

Pushed to main for 25.11