[Koha-bugs] [Bug 34762] Add a search based select component to ERM

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 14 18:10:26 CEST 2023


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

Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #155546|0                           |1
        is obsolete|                            |

--- Comment #5 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 155620
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155620&action=edit
Bug 34762: Add a SearchSelect component to ERM

This patch adds an ajax based searchable dropdown component to ERM that can be
used throughout the module. It can be configured to work with different parts
of the API client
This patch contains examples using the erm-api-client and the
acquisitions-api-client. You can also customise the amount of characters
required to trigger a search, this test plan will show two examples

Test plan:
1) Create at least two licenses and agreements in the erm module
2) In Agreements, click New agreement and add an Agreement name and a Status
(the required fields)
3) In the Vendor dropdown, you should be prompted to type at least one
character to search
4) Search for a vendor in your koha system
5) The results should populate with that vendor
6) Select that vendor
7) Scroll down to Licenses and click add new license
8) In the License dropdown you should again be prompted to type at least one
character
9) Search for one of the licenses you created earlier - it should be returned
as an option in the dropdown
10) Select the license and add a status
11) Scroll to Related agreements and click to add a new one
12) This time you should be prompted to type two characters to search
13) Search for one of your agreements, you should not receive any results until
two characters are provided
14) Select the agreement returned and add a relationship as well
15) Submit the form, the agreement should be saved (provided you have filled in
all required fields)
16) In the list of agreements, click on your newly created agreement. It should
have a vendor, license and related agreement associated with it
17) Sign off!

Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur at inLibro.com>

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


More information about the Koha-bugs mailing list