From e2a9f57a082242497dfd4ce60e3b6413aae6d7e0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 26 Sep 2024 19:12:13 +0000 Subject: [PATCH] Bug 37273: (follow-up) Remove parentheses and # from column The new ID column shows numbers like "(#2)". I think the parentheses and hash symbol are unnecessary and inconsistent with the way we do it in other places and should be removed. To test, apply the patch and rebuild the staff interface CSS: Either run 'yarn build' from the command line or if you're using a sandbox, click the "Actions" menu for your sandbox and choose "Build CSS and JS." Follow the previous test plan and confirm that the ID column looks correct. --- .../intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue | 2 +- .../intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue index 2022e7a0f09..63da07a63e3 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue @@ -260,7 +260,7 @@ export default { '' + - escape_str(`(#${row.agreement_id})`) + + escape_str(`${row.agreement_id}`) + "" ) }, diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue index 804d166e465..49370be0746 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue @@ -153,7 +153,7 @@ export default { '' + - escape_str(`(#${row.license_id})`) + + escape_str(`${row.license_id}`) + "" ) }, -- 2.39.5