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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue (-2 / +1 lines)
Lines 15-22 export default { Link Here
15
         * @param {Object} resource - The resource to navigate to
15
         * @param {Object} resource - The resource to navigate to
16
         * @return {void}
16
         * @return {void}
17
         */
17
         */
18
        goToResourceShow: function (resource, dt, event) {
18
        goToResourceShow: function (resource) {
19
            event?.preventDefault()
20
            this.$router.push({
19
            this.$router.push({
21
                name: this.show_component,
20
                name: this.show_component,
22
                params: { [this.id_attr]: resource[this.id_attr] },
21
                params: { [this.id_attr]: resource[this.id_attr] },
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue (-4 / +1 lines)
Lines 243-251 export default { Link Here
243
                    orderable: true,
243
                    orderable: true,
244
                    render: function (data, type, row, meta) {
244
                    render: function (data, type, row, meta) {
245
                        return (
245
                        return (
246
                            '<a href="/cgi-bin/koha/erm/agreements/' +
246
                            '<a role="button" class="show">' +
247
                            row.agreement_id +
248
                            '" class="show">' +
249
                            escape_str(`${row.name} (#${row.agreement_id})`) +
247
                            escape_str(`${row.name} (#${row.agreement_id})`) +
250
                            "</a>"
248
                            "</a>"
251
                        )
249
                        )
252
- 

Return to bug 37301