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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItems.vue (-9 / +6 lines)
Lines 167-180 export default { Link Here
167
        async getItems(item_ids) {
167
        async getItems(item_ids) {
168
            const client = APIClient.item
168
            const client = APIClient.item
169
            let q = { "me.item_id": item_ids }
169
            let q = { "me.item_id": item_ids }
170
            await client.items
170
            await client.items.getAll(q, {}, { "x-koha-embed": "biblio" }).then(
171
                .getAll(q, {}, { headers: { "x-koha-embed": "biblio" } })
171
                items => {
172
                .then(
172
                    this.items = items
173
                    items => {
173
                },
174
                        this.items = items
174
                error => {}
175
                    },
175
            )
176
                    error => {}
177
                )
178
        },
176
        },
179
        columnApiMapping(item, db_column) {
177
        columnApiMapping(item, db_column) {
180
            let table_col = db_column.split(".")
178
            let table_col = db_column.split(".")
181
- 

Return to bug 36649