[Koha-bugs] [Bug 33103] Add vendor aliases

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 2 15:34:40 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33103

--- Comment #6 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 147626
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147626&action=edit
Bug 33103: Add the ability to create vendor aliases

This patchset is adding the ability to create aliases for vendors. It
will then be easier to search for vendors.

* new DB table aqbookseller_aliases(id, vendor_id, alias)
* new pair of Koha classes Koha::Acquisition::Bookseller::Alias[es]
* new method to retrieve the aliases from the vendor
Koha::Acquisition::Bookseller->aliases
* The api spec changes to allow aliases to be embeded on
GET /acquisitions/vendors
* Add/Delete alias when editing a vendor
* Display the aliases on the vendor show view
* Search vendors by aliases
* Display the aliases in the dropdown list of the vendors in the ERM
module

Test plan:
- Create a vendor, add it some aliases
- Edit the vendor, remove some aliases
=> Behaviour must be consistent
- Search the vendor in the acquisition module by its aliases
=> The vendor must be returned in the result
- Go to the ERM module, add a new agreement or license
=> Notice that the dropdown list of the vendors is displaying the
aliases, that make vendors searchable by their aliases

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list