LP#1746584: Adjust bib visibility test for patron browse
authorMike Rylander <mrylander@gmail.com>
Wed, 31 Jan 2018 22:07:42 +0000 (17:07 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 8 Nov 2018 03:16:56 +0000 (22:16 -0500)
commita58f9b58ff4001c01ced22bfaecfdf9b3c9d4f57
treeea4475430811f4ddf2054c5b815e5c24d6d6c711
parentb8ce429830e76ccdc34537325bbafd5283e4c814
LP#1746584: Adjust bib visibility test for patron browse

With updates to address visibility testing issues for LURIs, a change was made
to allow the default bib tests to supply the most appropriate query_int
operator with which to join those to non-default tests.  The browse code,
however, is all database-level and was not adjusted with the Perl code that
implements general search.  This commit addresses that issue by acknowledging
that the bib vis testing code to provide its own operator, either | or &, as
appropriate to the actual default test values.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.browse_visibility_test.sql [new file with mode: 0644]