]> git.koha-community.org Git - koha.git/commit
Bug 33480: Improve vendor aliases display in dropdown list
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 Apr 2023 09:05:07 +0000 (11:05 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 6 Sep 2023 18:05:24 +0000 (15:05 -0300)
commite90ccb7ff33d68263a62a4f0f2f5234c79481d5f
tree8969594869b2303b71be7114497011f7c2354202
parentb00806774d3353086fc7c7e3def22f4de570c795
Bug 33480: Improve vendor aliases display in dropdown list

On bug 33103 we are adding the ability to filter vendors by aliases.
To make it possible in the ERM module we are adding the alias list in
the dropdown list. However it's not nicely displayed, especially if
there are several entries.

This patch suggests to display the aliases in a different line, and not
for the selected option.

To acchieve that we create a new Vue component FormSelectVendors.

Test plan:
Create several vendors, and add some aliases to them (keep one vendor
without alias)
Go to the ERM module go to the following page, search for vendors by
aliases, save the form, and confirm that everything is nice and works
correctly:
* Add/edit an agreement
* Add/edit a license
* Add/edit a local package
* Add a new package to a title (edit a title)

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesFormAdd.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAddResources.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesFormAdd.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/FormSelectVendors.vue [new file with mode: 0644]