Created attachment 168606 [details] ERM ID number appended to agreement name When creating an Agreement or License in the ERM, an ID number is added to the agreement or license name. If it is necessary for the ID number to be visible, it should be in a separate column from the name. Having the ID number appended to the name is a little confusing (see example image). Another option is to hide the hide ID number if it is not needed.
(In reply to Esther Melander from comment #0) > Created attachment 168606 [details] > ERM ID number appended to agreement name > > When creating an Agreement or License in the ERM, an ID number is added to > the agreement or license name. If it is necessary for the ID number to be > visible, it should be in a separate column from the name. Having the ID > number appended to the name is a little confusing (see example image). > Another option is to hide the hide ID number if it is not needed. I think this makes sense. @Joubu do we remember the initial reason why we decided the way it is currently? Trying to understand if there are any blockers for this.
I guess I just wanted to avoid a new column in the table. We can have it in a separate column if it is more convenient for people. However I would not hide it, in case you want to search/order by the IDs. Not sure to understand why it is considered confusing however.
It's not clear what the number means. Labeling it makes it understood the number is an ID number. I can see some cases where a number like '#1' is part of a title on the titles table, which can be confusing.
Created attachment 169107 [details] [review] Bug 37273: Added ID column to ERM Agreements and Licenses Tables To test 1. Apply patch, yarn build, restart_all 2. System preferences -> ERMModule -> Enable 3. E-resource management -> Agreements -> "+New Agreement" 4. Notice ID is removed from name and put in it's own column 5. Repeat with licenses table
Comment on attachment 169107 [details] [review] Bug 37273: Added ID column to ERM Agreements and Licenses Tables Review of attachment 169107 [details] [review]: ----------------------------------------------------------------- ::: koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue @@ +268,3 @@ > { > title: __("Name"), > data: "me.name:me.agreement_id", We can probably also change this to 'me.name' only. ::: koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesList.vue @@ +161,3 @@ > { > title: __("Name"), > data: "me.name:me.license_id", We can probably also change this to 'me.name' only.