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.
Created attachment 186283 [details] [review] Bug 40774: Fix EBSCO's package list view TypeError: can't access property "authorised_values", e.type is undefined
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.
Created attachment 186286 [details] [review] Bug 40774: Fix content type description The authorised value category for 'EBook' is not defined.
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.
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>
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>
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>
Seems to be working fine now, thank you!