]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix some standing penalty issues
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 9 Sep 2011 18:31:27 +0000 (14:31 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 9 Sep 2011 19:36:22 +0000 (15:36 -0400)
commitc73466daa28974955130222fba67aa9f86782ee1
tree104735403cfbb6a46fbafc299d5f937c4b16b3f8
parent02805043719388e350a699138dd6a225ead91fc5
Fix some standing penalty issues

Circulations were using the circ matchpoint org unit for blocking.
That could, depending on the matchpoint that matched, result in staff
not being able to see the penalty that is being blocked for.

In addition, blocking is done based on the full path, not ancestors.
But, backend functions only used ancestors. Changed them to use the
full_path variant instead.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/Penalty.pm
Open-ILS/src/sql/Pg/100.circ_matrix.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.penalty_fixes.sql [new file with mode: 0644]