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.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2024-09-26 19:12:13 +00:00 committed by Katrin Fischer
parent d361c8adb6
commit 0bb4787f68
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ export default {
'<a href="/cgi-bin/koha/erm/agreements/' +
row.agreement_id +
'" class="show">' +
escape_str(`(#${row.agreement_id})`) +
escape_str(`${row.agreement_id}`) +
"</a>"
);
},

View File

@ -200,7 +200,7 @@ export default {
'<a href="/cgi-bin/koha/erm/licenses/' +
row.license_id +
'" class="show">' +
escape_str(`(#${row.license_id})`) +
escape_str(`${row.license_id}`) +
"</a>"
);
},