Bug 40774 - EBSCO Packages search box is missing
Summary: EBSCO Packages search box is missing
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: ERM (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low major
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords: rel_25_05_candidate
Depends on: 37930
Blocks:
  Show dependency treegraph
 
Reported: 2025-09-09 11:31 UTC by Christian Nelson
Modified: 2025-09-09 13:28 UTC (History)
5 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40774: Fix EBSCO's package list view (1.37 KB, patch)
2025-09-09 11:54 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40774: Fix get_lib_from_av calls (1.70 KB, patch)
2025-09-09 12:02 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40774: Fix content type description (1.36 KB, patch)
2025-09-09 12:09 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40774: Fix EBSCO's package list view (1.42 KB, patch)
2025-09-09 13:26 UTC, OpenFifth Sandboxes
Details | Diff | Splinter Review
Bug 40774: Fix get_lib_from_av calls (1.75 KB, patch)
2025-09-09 13:26 UTC, OpenFifth Sandboxes
Details | Diff | Splinter Review
Bug 40774: Fix content type description (1.41 KB, patch)
2025-09-09 13:26 UTC, OpenFifth Sandboxes
Details | Diff | Splinter Review

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