[Koha-bugs] [Bug 32474] Implement infinite scroll in vue-select

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 3 10:28:45 CEST 2023


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

--- Comment #56 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 156483
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156483&action=edit
Bug 32474: Pass label and identifier

This is a try to fix the last remaining Cypress failure.
The problem is that the label of the existing license does not display,
only its id.
To recreate:
Create a license
Create an agreement and select the license
Edit the agreement
=> The display shows "License: {id}", not its name

This patch is removing the code from created() because I thought it was
the problem originally, and it didn't seem correct to let
InfiniteScrollSelect deal with the "id" and "label" for the different
dataType. But the problem is somewhere else: we have not fetched any
licenses yet from the AgreementLicenses. However we do have the selected
license that we could pass to InfiniteScrollSelect, but that's yet
another param to pass. It feels like there is something better to do
here.

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


More information about the Koha-bugs mailing list