]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1723977: Move no-LURIs test to be a peer of no-copies test
authorMike Rylander <miker@esilibrary.com>
Tue, 7 Nov 2017 16:09:07 +0000 (11:09 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 7 Nov 2017 21:16:42 +0000 (16:16 -0500)
commit5a187c8148653e6b9d0fc32f10a008fa4069a603
tree57b35bbcf6ea8d0fccc2c94ddea6b29dcd33949c
parentff0aa859e8069ba053efa23a55124ccd45ed212d
LP#1723977: Move no-LURIs test to be a peer of no-copies test

The correct place to test the no-LURIs condition is as a peer to the
no-copies test, when searching in staff mode.  We therefore move that
test with this commit.

In addition, the bib attribute vector may be null, in the case of a
record with no bib source or LURI.  When testing emptiness we need to
ask if the field IS NULL rather than just testing its contents.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
Open-ILS/src/sql/Pg/300.schema.staged_search.sql