[OPEN-ILS-DEV] Fix for problems with org trees

James Fournie jfournie at sitka.bclibraries.ca
Tue Jul 14 01:45:32 EDT 2009


Hello,

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

~James Fournie
BC SITKA
-------------- next part --------------

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: 
James Fournie
jfournie at sitka.bclibraries.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orgutils.patch
Type: application/octet-stream
Size: 977 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090713/3438d8cd/attachment.obj 


More information about the Open-ils-dev mailing list