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 292-300 export default { Link Here
292
                    orderable: true,
292
                    orderable: true,
293
                    render: function (data, type, row, meta) {
293
                    render: function (data, type, row, meta) {
294
                        return (
294
                        return (
295
                            '<a href="/cgi-bin/koha/erm/agreements/' +
295
                            '<a role="button" class="show">' +
296
                            row.agreement_id +
297
                            '" class="show">' +
298
                            escape_str(`${row.name} (#${row.agreement_id})`) +
296
                            escape_str(`${row.name} (#${row.agreement_id})`) +
299
                            "</a>"
297
                            "</a>"
300
                        )
298
                        )
301
- 

Return to bug 37301