Let's get back to the z39.50 bug we looked at a few months ago. Here is the patch we are starting with:
https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jwoolford/lp1786971-z3950-bib-id
It is installed on:
https://terran-testbox.gapines.org/eg/staff (admin / demo123)