]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix autosuggest when in no-vis-check mode
authorMike Rylander <mrylander@gmail.com>
Thu, 20 Sep 2012 19:17:36 +0000 (15:17 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 11 Oct 2012 17:16:14 +0000 (13:16 -0400)
commit7335cbf58a7941f77a1bba5ab071aeaeff36daf0
tree1c2eb5b861e2d49fb78ea256fbb86feebfbc0216
parent705eb71b27f4f16651077a576c812cb9993c5046
Fix autosuggest when in no-vis-check mode

When autosuggest is configured to avoid visiblity checking, it sends a
special org unit id of -1 to the database as a signal.  However, the stored
procedure is expecting a NULL instead.  This allows either by transforming
-1 to NULL within the stored procedure.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/0740.schema.checkless_browse_fix.sql [new file with mode: 0644]