]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Patch from James Fournie -- fixing org tree fleshing depth.
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Jul 2009 16:36:52 +0000 (16:36 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Jul 2009 16:36:52 +0000 (16:36 +0000)
commit08f25b7d1bd93d1b9eed3bf98c498f6a9ed4f888
tree646499387bc23d7bcd4afea1a4bd67d6abded3e6
parente15a16adc448768b808b18344fec0a922743af99
Patch from James Fournie -- fixing org tree fleshing depth.

====
I was having a horrible time getting the hasCommonAncestor() function
to work in the circ Javascripts.  I eventually discovered that
ScriptBuilder.pm was making a cstore actor.org_unit search with flesh
= 2, which limited the search to org units above depth 2.  My org
units were depth 3.  I changed the cstore flesh to -1 and this seems
to retreive all org units.  I also found an similar problem in
AppUtils.pm

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13584 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Open-ILS/src/perlmods/OpenILS/Application/Circ/ScriptBuilder.pm