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)
committerJason Stephenson <jason@sigio.com>
Tue, 20 Feb 2018 15:11:06 +0000 (10:11 -0500)
commit0f64cadbf9a81e71f37e4af26fad647df830c795
treeffd57b6311e0c728a924d7b214143e142faceebd
parent87cb606448ffccab02f89e383c22cc2b36da69e0
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>
Signed-off-by: Jason Stephenson <jason@sigio.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]