From 101fbbe242f5ed957f05f9edf71e718eb1aee3bb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Sep 2025 14:02:35 +0200 Subject: [PATCH] Bug 40774: Fix get_lib_from_av calls The authorised value category for 'authorisedValues.av_title_publication_types' is not defined. --- .../prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue index 60c4a0a1978..6b84f7bdaea 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsEBSCOTitlesList.vue @@ -120,9 +120,7 @@ export default { }, filters_options: { 1: () => - this.map_av_dt_filter( - "authorisedValues.av_title_publication_types" - ), + this.map_av_dt_filter("av_title_publication_types"), }, actions: { 0: ["show"] }, default_filters: { @@ -252,7 +250,7 @@ export default { render: function (data, type, row, meta) { return escape_str( get_lib_from_av( - "authorisedValues.av_title_publication_types", + "av_title_publication_types", row.publication_type ) ); -- 2.34.1