Bug 41355 - No 'show' view for record sources
Summary: No 'show' view for record sources
Status: Pushed to main
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low blocker
Assignee: Matt Blenkinsop
QA Contact: Testopia
URL:
Keywords: rel_25_11_candidate
Depends on: 38201 41354
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-02 13:08 UTC by Jonathan Druart
Modified: 2025-12-03 15:29 UTC (History)
2 users (show)

See Also:
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:


Attachments
Bug 41355: Handle vue resources with no Show component (4.28 KB, patch)
2025-12-02 14:18 UTC, Matt Blenkinsop
Details | Diff | Splinter Review
Bug 41355: Handle vue resources with no Show component (4.55 KB, patch)
2025-12-02 14:21 UTC, Matt Blenkinsop
Details | Diff | Splinter Review
Bug 41355: Handle vue resources with no Show component (4.60 KB, patch)
2025-12-02 19:34 UTC, David Nind
Details | Diff | Splinter Review
Bug 41355: Handle vue resources with no Show component (4.76 KB, patch)
2025-12-03 13:11 UTC, Tomás Cohen Arazi (tcohen)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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