View | Details | Raw Unified | Return to bug 30708
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsFormAdd.vue (+11 lines)
Lines 107-112 Link Here
107
                                    :id="`attribute_option_${counter}`"
107
                                    :id="`attribute_option_${counter}`"
108
                                    v-model="attribute.option_source"
108
                                    v-model="attribute.option_source"
109
                                    :options="authorised_value_categories"
109
                                    :options="authorised_value_categories"
110
                                    :getOptionLabel="
111
                                        c =>
112
                                            authorised_value_categories.find(
113
                                                cc => cc == c
114
                                            )
115
                                                ? c
116
                                                : '%s (%s)'.format(
117
                                                      c,
118
                                                      $__('DOES NOT EXIST!')
119
                                                  )
120
                                    "
110
                                >
121
                                >
111
                                    <template #search="{ attributes, events }">
122
                                    <template #search="{ attributes, events }">
112
                                        <input
123
                                        <input
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItem.vue (-2 / +3 lines)
Lines 311-317 export default { Link Here
311
                        let av_match = av_categories.find(
311
                        let av_match = av_categories.find(
312
                            element => element.category_name == av_cat
312
                            element => element.category_name == av_cat
313
                        )
313
                        )
314
                        this.av_options[av_cat] = av_match.authorised_values
314
                        this.av_options[av_cat] = av_match
315
                            ? av_match.authorised_values
316
                            : []
315
                    })
317
                    })
316
                })
318
                })
317
                .then(() => this.loaded())
319
                .then(() => this.loaded())
318
- 

Return to bug 30708