LP#1464709: Disentangle hold bits from is_available user/miker/lp1464709-copy-status-is-available
authorMike Rylander <mrylander@gmail.com>
Tue, 23 Aug 2016 20:59:33 +0000 (16:59 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 23 Aug 2016 20:59:33 +0000 (16:59 -0400)
commitcebbcd4d391a9f12eb740f7aa38d7ba8ff3522bc
tree83977a4e09ba8d41f4123ad625af7f629fd340fd
parentf5b0f15c787724ece5140795dd755129621b00a5
LP#1464709: Disentangle hold bits from is_available

We need to avoid conflating a status's available equivalence with its
desirablity as a hold target.  So, we will leave the "On holds shelf"
status as special in circulation, and not touch the hold targeter or
pull list code.  That's the primary effect of this commit.

Instead, a future revision will add something like the is_available
flag, but defining the targetability of a status, and use that in the
targetter.  Further use of is_available may happen once is_targetable (or
whatever it ends up being called) is created.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
Open-ILS/src/sql/Pg/100.circ_matrix.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_status_co_allowed.sql