]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1609556: only include OPAC-visible copies in SRU/Z39.50 holdings
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 2 Oct 2018 21:28:31 +0000 (14:28 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 3 Oct 2019 22:06:44 +0000 (18:06 -0400)
commit8b5ed002670d40edc6e4337672e102a594ebebca
tree0e3365cd8fa678958212d06d84373354c492b4f9
parentabd84c5e46529c88e72e8fb669505a1b4068fd3f
LP#1609556: only include OPAC-visible copies in SRU/Z39.50 holdings

To test:

1. Create a bib record.
2. Add an item to the record at BR1. Mark it as not OPAC-visible.
3. Do a CONS-level SRU search for the record, including holdings. The
   record is not included in results because there are no OPAC-visible
   holdings.
4. Add a second item to the same record, this time at BR3. Mark this
   one as OPAC-visible.
5. Repeat the CONS-level SRU search, including holdings. The record
   appears in search results, but holdings information in 852 includes
   *all* copies, including non-OPAC-visible copies.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm