https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32474
--- Comment #56 from Jonathan Druart <[email protected]> --- 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. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
