Here is a working branch that adds in the check and handles --uris correctly.
If --exclude-hidden + --items + --uris are used, there is an extra check to see if an empty bib has at least one located URI and if it does it doesn't get excluded.
I haven't tested the --since behavior, that seems to include deleted items and call numbers, so I set deleted located URI's to be included also in the test I added.
Working branch at: user/stompro/lp2015484_exclude_opac_visible_from_export_work1
Here is a working branch that adds in the check and handles --uris correctly.
If --exclude-hidden + --items + --uris are used, there is an extra check to see if an empty bib has at least one located URI and if it does it doesn't get excluded.
I haven't tested the --since behavior, that seems to include deleted items and call numbers, so I set deleted located URI's to be included also in the test I added.
Working branch at: user/stompro/ lp2015484_ exclude_ opac_visible_ from_export_ work1
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ stompro/ lp2015484_ exclude_ opac_visible_ from_export_ work1
Josh