Bug 40774

Summary: EBSCO Packages search box is missing
Product: Koha Reporter: Christian Nelson <christian.nelson>
Component: ERMAssignee: Jonathan Druart <jonathan.druart>
Status: Needs documenting --- QA Contact: Paul Derscheid <me>
Severity: major    
Priority: P5 - low CC: fridolin.somers, jonathan.druart, jonathan.field, lucas, martin.renvoize, matt.blenkinsop, paul.derscheid, pedro.amorim
Version: unspecifiedKeywords: rel_25_05_candidate
Hardware: All   
OS: All   
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:
25.11.00,25.05.04
Circulation function:
Bug Depends on: 37930    
Bug Blocks:    
Attachments: Bug 40774: Fix EBSCO's package list view
Bug 40774: Fix get_lib_from_av calls
Bug 40774: Fix content type description
Bug 40774: Fix EBSCO's package list view
Bug 40774: Fix get_lib_from_av calls
Bug 40774: Fix content type description
Bug 40774: Fix EBSCO's package list view
Bug 40774: Fix get_lib_from_av calls
Bug 40774: Fix content type description

Description Christian Nelson 2025-09-09 11:31:13 UTC
In ERM module (/cgi-bin/koha/erm/eholdings/ebsco/packages) the EBSCO packages search box is missing. Instead of the search box an empty page is shown.

Chrome Console says:
runtime-core.esm-bundler.js:275 TypeError: Cannot read properties of undefined (reading 'authorised_values')
    at Proxy.<anonymous> (EHoldingsEBSCOPackagesList.vue:14:36)
    at a7 (runtime-core.esm-bundler.js:6502:16)
    at A.s [as fn] (runtime-core.esm-bundler.js:5319:46)
    at A.run (reactivity.esm-bundler.js:225:19)
    at U (runtime-core.esm-bundler.js:5454:5)
    at P (runtime-core.esm-bundler.js:5229:7)
    at I (runtime-core.esm-bundler.js:5182:9)
    at y (runtime-core.esm-bundler.js:4700:11)
    at A.s [as fn] (runtime-core.esm-bundler.js:5406:9)
    at A.run (reactivity.esm-bundler.js:225:19)

The EBSCO titles search (/cgi-bin/koha/erm/eholdings/ebsco/titles) seems to be working normally.
Comment 1 Jonathan Druart 2025-09-09 11:54:34 UTC
Created attachment 186283 [details] [review]
Bug 40774: Fix EBSCO's package list view

TypeError: can't access property "authorised_values", e.type is undefined
Comment 2 Jonathan Druart 2025-09-09 12:02:52 UTC
Created attachment 186285 [details] [review]
Bug 40774: Fix get_lib_from_av calls

The authorised value category for 'authorisedValues.av_title_publication_types' is not defined.
Comment 3 Jonathan Druart 2025-09-09 12:09:32 UTC
Created attachment 186286 [details] [review]
Bug 40774: Fix content type description

The authorised value category for 'EBook' is not defined.
Comment 4 Jonathan Druart 2025-09-09 12:10:56 UTC
I found several bugs.

The description of the content types on the package list view was not correctly shown.

On the title list it was the publication types.

Everything should be fixed now.
Comment 5 OpenFifth Sandboxes 2025-09-09 13:26:31 UTC
Created attachment 186296 [details] [review]
Bug 40774: Fix EBSCO's package list view

TypeError: can't access property "authorised_values", e.type is undefined
Signed-off-by: cnelson <christian.nelson@uwasa.fi>
Comment 6 OpenFifth Sandboxes 2025-09-09 13:26:33 UTC
Created attachment 186297 [details] [review]
Bug 40774: Fix get_lib_from_av calls

The authorised value category for 'authorisedValues.av_title_publication_types' is not defined.

Signed-off-by: cnelson <christian.nelson@uwasa.fi>
Comment 7 OpenFifth Sandboxes 2025-09-09 13:26:35 UTC
Created attachment 186298 [details] [review]
Bug 40774: Fix content type description

The authorised value category for 'EBook' is not defined.

Signed-off-by: cnelson <christian.nelson@uwasa.fi>
Comment 8 Christian Nelson 2025-09-09 13:28:38 UTC
Seems to be working fine now, thank you!
Comment 9 Paul Derscheid 2025-09-17 11:59:19 UTC
Just found this as well :D
Comment 10 Paul Derscheid 2025-09-17 12:21:13 UTC
Created attachment 186528 [details] [review]
Bug 40774: Fix EBSCO's package list view

TypeError: can't access property "authorised_values", e.type is undefined
Signed-off-by: cnelson <christian.nelson@uwasa.fi>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Comment 11 Paul Derscheid 2025-09-17 12:21:15 UTC
Created attachment 186529 [details] [review]
Bug 40774: Fix get_lib_from_av calls

The authorised value category for 'authorisedValues.av_title_publication_types' is not defined.

Signed-off-by: cnelson <christian.nelson@uwasa.fi>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Comment 12 Paul Derscheid 2025-09-17 12:21:18 UTC
Created attachment 186530 [details] [review]
Bug 40774: Fix content type description

The authorised value category for 'EBook' is not defined.

Signed-off-by: cnelson <christian.nelson@uwasa.fi>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Comment 13 Lucas Gass (lukeg) 2025-09-18 19:45:46 UTC
Hi Christian, I have updated your sign-off line to be:

Signed-off-by: Christian Nelson <christian.nelson@uwasa.fi>

For the dashboard and the release notes we can do a mail map to your full name, but please consider updating your git settings.
Comment 14 Lucas Gass (lukeg) 2025-09-18 19:54:39 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 15 Paul Derscheid 2025-09-25 16:31:13 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 16 Fridolin Somers 2025-10-16 08:32:56 UTC
Depends on Bug 37930 not in 24.11.x