]> git.evergreen-ils.org Git - Evergreen.git/commit
Patch from Thomas Berezansky addressing logical importance of various circulation...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 28 Jan 2011 14:58:37 +0000 (14:58 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 28 Jan 2011 14:58:37 +0000 (14:58 +0000)
commitad1ebc929393a1de63bb884201cb2c457bc37150
tree87d14f716e76298e57b714029db8b20a31c90579
parentf3c0d032a2bad1d7647c4cb06769c132d450115b
Patch from Thomas Berezansky addressing logical importance of various circulation and hold matrix matchpoint components.

Previous to this commit, INDB circ and holds use a pre-defined weighting set for rule ordering. This can be changed via replacing the relevant "find" functions in the database, but this is not easily done for most people.

The weight set for circ matchpoints is obtained based on the context ou of the circ (aka, where the circ is happening).

The weight set for hold matchpoints is obtained based on the item's circ library (aka, where the item lives).

Optionally, add an enabled circ.holds.weight_owner_not_circ internal flag to have the weight set for hold matchpoints be obtained based on the item's owning library (owner of the call number).

TODO: discuss promotion of circ.holds.weight_owner_not_circ to a Global Flag; wikified or docbook'd documentation and use-case examples.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19317 dcc99617-32d9-48b4-a31d-7c20da2025e4
16 files changed:
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/sql/Pg/006.schema.permissions.sql
Open-ILS/src/sql/Pg/020.schema.functions.sql
Open-ILS/src/sql/Pg/099.matrix_weights.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/100.circ_matrix.sql
Open-ILS/src/sql/Pg/110.hold_matrix.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/build-db.sh
Open-ILS/src/sql/Pg/upgrade/0479.schema.matrix_weights.sql [new file with mode: 0644]
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/web/templates/default/conify/global/config/circ_matrix_weights.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/conify/global/config/hold_matrix_matchpoint.tt2
Open-ILS/web/templates/default/conify/global/config/hold_matrix_weights.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/conify/global/config/weight_assoc.tt2 [new file with mode: 0644]
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul