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:07:28 +0000 (10:07 -0500)
commitea0569d7c23f1fa9d135fb7095f0a28ec179e348
tree536fe3585b9a5d521897ce9ca4e0f8f473a3721e
parent044c42dd1deefe387181ea4810d3d6b597ff24ad
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]