Adding support for pushing to the front of the hold queue with a cut_in_line
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 20 Oct 2009 18:59:20 +0000 (18:59 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 20 Oct 2009 18:59:20 +0000 (18:59 +0000)
commit0d73ab390d2791035c123b040d938ec7e07cc477
treee9bd6cdf7de41e304bd5afbda05d043f18113dc3
parentf17ef24792f69c5e16fc10adf5eb25e7b48be25c
Adding support for pushing to the front of the hold queue with a cut_in_line
boolean field.  Setting this on an action.hold_request will cause the hold
to sort to the top of the queue in calls to open-ils.storage.action.hold_request.nearest_hold,
which is used to capture holds in priority order.

Currently, this field sorts /after/ the hold proximity.  When strict FIFO
holds are implemented, this sort will go to the front of the line, followed
by request_time and then proximity.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14509 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/action.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/090.schema.action.sql
Open-ILS/src/sql/Pg/upgrade/0040.schema.force-hold-to-front.sql [new file with mode: 0644]