]> 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 22:01:32 +0000 (17:01 -0500)
commit522304560e1c90918985e6229a1de86e29406565
tree8a20634fbe03b144cbb2335d75986a82c0bf24c7
parentf98fd95bfcb2e9e3eab1d5091859e336131e1132
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