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

2009-07-14 Thread Dan Scott
2009/7/14 James Fournie jfour...@sitka.bclibraries.ca: 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

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

2009-07-14 Thread Bill Erickson
On Tue, Jul 14, 2009 at 11:32 AM, Dan Scott deni...@gmail.com wrote: 2009/7/14 James Fournie jfour...@sitka.bclibraries.ca: Hello, I was having a horrible time getting the hasCommonAncestor() function to work in the circ Javascripts. I eventually discovered that ScriptBuilder.pm was

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

2009-07-13 Thread James Fournie
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.