]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix proximity adjustment calculator
authorMike Rylander <mrylander@gmail.com>
Thu, 16 Jan 2014 18:58:12 +0000 (13:58 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 16 Jan 2014 20:25:46 +0000 (15:25 -0500)
commita9d9b42689b03791ea3ed8bd3122be76437279c1
tree40845777dad1e34c4a765b463bfd7a4b18698c57
parentfb9e994242d337f2c5eabcd2082f334a2da9fada
Fix proximity adjustment calculator

The canonical use case for proximity adjustment is to use it broadly
to effect the local proximity of items within a particular area, in
a like manner, across many parts of the org tree.  However, in cases
where it is lightly used, or used with non-overlapping criteria columns,
there are cases where the adjustment will spread beyond its intended
range of influence.

The changes here create a much stricter and correct test for rule
matching, which will end in the correct choice of rules in all cases.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/090.schema.action.sql