Custom best-hold selection sort order
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 13 Dec 2012 19:45:41 +0000 (14:45 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 27 Feb 2013 15:58:06 +0000 (10:58 -0500)
commit6b53189a9134d7366d4fd9bb7f0a8b29ee304df5
tree1184a6ee0763a513edae02eb0ccddf293c98909a
parentfc048034c0a45795057dcea75ad2e876b6d5785a
Custom best-hold selection sort order

The ranking algorithm that chooses the best hold to target a copy in
hand at a capture time used to be fairly simple.  It had two modes, FIFO
and not-FIFO, and that was it.

This change allows full configuration of that algorithm.  In other
words, when the system captures a copy and sets out to evaluate what
hold, if any, that copy might best fulfull, site staff of sufficient
permission level are now empowered to choose exactly which comparisons
the systems makes in what order.  This gives said staff much greater
flexibililty than they have today over holds policy.

For more information, see the included tech spec documents.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql

Signed-off-by: Mike Rylander <mrylander@gmail.com>
19 files changed:
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/005.schema.actors.sql
Open-ILS/src/sql/Pg/090.schema.action.sql
Open-ILS/src/sql/Pg/800.fkeys.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.org_prox_adjust.sql
Open-ILS/src/sql/Pg/upgrade/XXYY.schema.custom-best-hold-selection.sql [new file with mode: 0644]
Open-ILS/src/templates/conify/global/config/best_hold_order.tt2 [new file with mode: 0644]
Open-ILS/web/js/dojo/openils/conify/BestHoldOrder.js [new file with mode: 0644]
Open-ILS/web/js/dojo/openils/conify/nls/conify.js
Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
docs/RELEASE_NOTES_NEXT/custom-best-hold-selection.txt [new file with mode: 0644]
docs/TechRef/Circ/custom-best-hold-selection.txt [new file with mode: 0644]