LP#1746584: Adjust bib visibility test for patron browse user/miker/lp-1746584-browse-visibility-test
authorMike Rylander <mrylander@gmail.com>
Wed, 31 Jan 2018 22:07:42 +0000 (17:07 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 31 Jan 2018 22:07:42 +0000 (17:07 -0500)
commit8fae5ea44df76b6519765eccbdb7c473e47d124b
tree22fdd3ff03c864d8f7f4ebc3198f550ea0fbe0f1
parent8410fdace48ceb10f0cb9e84294d15a8f5adff9a
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]