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

(-)a/admin/columns_settings.yml (+4 lines)
Lines 784-789 modules: Link Here
784
    agreements:
784
    agreements:
785
      agreements:
785
      agreements:
786
        columns:
786
        columns:
787
            -
788
              columnname: id
787
            -
789
            -
788
              columnname: name
790
              columnname: name
789
            -
791
            -
Lines 805-810 modules: Link Here
805
    licenses:
807
    licenses:
806
      licenses:
808
      licenses:
807
        columns:
809
        columns:
810
            -
811
              columnname: id
808
            -
812
            -
809
              columnname: name
813
              columnname: name
810
            -
814
            -
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue (-1 / +16 lines)
Lines 250-255 export default { Link Here
250
            let escape_str = this.escape_str
250
            let escape_str = this.escape_str
251
251
252
            return [
252
            return [
253
                {
254
                    title: __("ID"),
255
                    data: "me.agreement_id",
256
                    searchable: true,
257
                    orderable: true,
258
                    render: function (data, type, row, meta) {
259
                        return (
260
                            '<a href="/cgi-bin/koha/erm/agreements/' +
261
                            row.agreement_id +
262
                            '" class="show">' +
263
                            escape_str(`(#${row.agreement_id})`) +
264
                            "</a>"
265
                        )
266
                    },
267
                },
253
                {
268
                {
254
                    title: __("Name"),
269
                    title: __("Name"),
255
                    data: "me.name:me.agreement_id",
270
                    data: "me.name:me.agreement_id",
Lines 260-266 export default { Link Here
260
                            '<a href="/cgi-bin/koha/erm/agreements/' +
275
                            '<a href="/cgi-bin/koha/erm/agreements/' +
261
                            row.agreement_id +
276
                            row.agreement_id +
262
                            '" class="show">' +
277
                            '" class="show">' +
263
                            escape_str(`${row.name} (#${row.agreement_id})`) +
278
                            escape_str(row.name) +
264
                            "</a>"
279
                            "</a>"
265
                        )
280
                        )
266
                    },
281
                    },
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue (-2 / +16 lines)
Lines 143-148 export default { Link Here
143
            let get_lib_from_av = this.get_lib_from_av
143
            let get_lib_from_av = this.get_lib_from_av
144
144
145
            return [
145
            return [
146
                {
147
                    title: __("ID"),
148
                    data: "me.license_id",
149
                    searchable: true,
150
                    orderable: true,
151
                    render: function (data, type, row, meta) {
152
                        return (
153
                            '<a href="/cgi-bin/koha/erm/licenses/' +
154
                            row.license_id +
155
                            '" class="show">' +
156
                            escape_str(`(#${row.license_id})`) +
157
                            "</a>"
158
                        )
159
                    },
160
                },
146
                {
161
                {
147
                    title: __("Name"),
162
                    title: __("Name"),
148
                    data: "me.name:me.license_id",
163
                    data: "me.name:me.license_id",
Lines 153-159 export default { Link Here
153
                            '<a href="/cgi-bin/koha/erm/licenses/' +
168
                            '<a href="/cgi-bin/koha/erm/licenses/' +
154
                            row.license_id +
169
                            row.license_id +
155
                            '" class="show">' +
170
                            '" class="show">' +
156
                            escape_str(`${row.name} (#${row.license_id})`) +
171
                            escape_str(row.name) +
157
                            "</a>"
172
                            "</a>"
158
                        )
173
                        )
159
                    },
174
                    },
160
- 

Return to bug 37273