Fix autosuggest when in no-vis-check mode user/miker/autosuggest-no-vis-check-fix
authorMike Rylander <mrylander@gmail.com>
Thu, 20 Sep 2012 19:17:36 +0000 (15:17 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 20 Sep 2012 19:17:36 +0000 (15:17 -0400)
commit66f0ffa911e81197c424d9f03fe98a9dcf305197
treea56a710ad5872567af5710623eb0c173b27b0c7a
parent4a2a2d03991ec30a2a61d71dca690b90ac84a30a
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>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.checkless_browse_fix.sql [new file with mode: 0644]