Comment 5 for bug 1927870

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Just noticed this on 3.11.

I think it is a timing issue between the combobox being initialized and and value from the record being applied.

With multiple results, after paging to the next result, the combox isn't being re-created, it already exits when the current record value gets set.

Or maybe the bib info to provide this.recordSource isn't available when the retrieveAll('cbs') call completes and tries to set it.

The sorting does seem to be taking effect fine.

Code is at:
https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts;hb=HEAD#l135

and
https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html;hb=HEAD#l49

I'm reading up on promises and async pipes, to let the template wait until the retrieveAll is fully done.. if that is the issue.

Josh