Comment 5 for bug 1175293

Revision history for this message
Chris Sharp (chrissharp123) wrote :

I just investigated this issue. The problem with displaying the year is an inherent limitation in how the fund selector dropdown is implemented. It uses dijit/form/FilteringSelect (see https://dojotoolkit.org/reference-guide/1.10/dijit/form/FilteringSelect.html for more-recent-than-what-we-use documentation on this feature), which has attributes "searchAttr" and "labelAttr" which only allow search/display of a single field, in this case, the fund code. My search of the web did not reveal any way to display anything else.

This is all to say that the display needs to be reimplemented to be like the fund dropdown in the lineitem batch updater (for example), that *does* show the code and year as requested.

As to whether the data store that's used to populate the dropdown can filter on active = false, I currently can't tell.

Hopefully someone more knowledgeable and experienced than me can chime in with advice about how to proceed.