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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue (-2 / +4 lines)
Lines 224-230 export default { Link Here
224
                            '<a href="/cgi-bin/koha/erm/agreements/' +
224
                            '<a href="/cgi-bin/koha/erm/agreements/' +
225
                            row.agreement_id +
225
                            row.agreement_id +
226
                            '" class="show">' +
226
                            '" class="show">' +
227
                            row.name +
227
                            escape_str(row.name) +
228
                            "</a>"
228
                            "</a>"
229
                        )
229
                        )
230
                    },
230
                    },
Lines 235-241 export default { Link Here
235
                    searchable: true,
235
                    searchable: true,
236
                    orderable: true,
236
                    orderable: true,
237
                    render: function (data, type, row, meta) {
237
                    render: function (data, type, row, meta) {
238
                        return row.vendor_id != undefined ? row.vendor.name : ""
238
                        return row.vendor_id != undefined
239
                            ? escape_str(row.vendor.name)
240
                            : ""
239
                    },
241
                    },
240
                },
242
                },
241
                {
243
                {
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue (-2 / +4 lines)
Lines 140-146 export default { Link Here
140
                            '<a href="/cgi-bin/koha/erm/licenses/' +
140
                            '<a href="/cgi-bin/koha/erm/licenses/' +
141
                            row.license_id +
141
                            row.license_id +
142
                            '" class="show">' +
142
                            '" class="show">' +
143
                            row.name +
143
                            escape_str(row.name) +
144
                            "</a>"
144
                            "</a>"
145
                        )
145
                        )
146
                    },
146
                    },
Lines 151-157 export default { Link Here
151
                    searchable: true,
151
                    searchable: true,
152
                    orderable: true,
152
                    orderable: true,
153
                    render: function (data, type, row, meta) {
153
                    render: function (data, type, row, meta) {
154
                        return row.vendor_id != undefined ? row.vendor.name : ""
154
                        return row.vendor_id != undefined
155
                            ? escape_str(row.vendor.name)
156
                            : ""
155
                    },
157
                    },
156
                },
158
                },
157
159
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue (-1 / +11 lines)
Lines 50-55 export default { Link Here
50
                },
50
                },
51
                buttons,
51
                buttons,
52
                search: { search: this.$route.query.q },
52
                search: { search: this.$route.query.q },
53
                columnDefs: [
54
                    {
55
                        targets: "_all",
56
                        render: function (data, type, row, meta) {
57
                            if (type == "display") {
58
                                return escape_str(data)
59
                            }
60
                            return data
61
                        },
62
                    },
63
                ],
53
                ...this.options,
64
                ...this.options,
54
            },
65
            },
55
            hidden_ids,
66
            hidden_ids,
56
- 

Return to bug 33066