Fix for Bulkloader picklists not loading introduced by ACAS-710
Bulkhead picklist collection does not provide a url so URLs are being formed like this:
/undefined?labelTextSearchTerm=Lo&maxHits=100&term=Lo&q=Lo and getting 404s
The fix is to only use the url if it is set on the collection model.
Related Issue
ACAS-769
How Has This Been Tested?
Using breakpoints verified that Protocol Endpoint manager picklists use the Ajax call and function properly.
Using breakpoints verified that CmpdReg bulkloader whose collection is preemptively fetched and does not have a URL, does not try to issue additional Ajax calls and the select2 widget is populated and. works correctly.
Description
/undefined?labelTextSearchTerm=Lo&maxHits=100&term=Lo&q=Lo
and getting 404sRelated Issue
ACAS-769
How Has This Been Tested?
Using breakpoints verified that Protocol Endpoint manager picklists use the Ajax call and function properly. Using breakpoints verified that CmpdReg bulkloader whose collection is preemptively fetched and does not have a URL, does not try to issue additional Ajax calls and the select2 widget is populated and. works correctly.