Merge the fix for deep display of copies
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 26 Apr 2009 15:58:40 +0000 (15:58 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 26 Apr 2009 15:58:40 +0000 (15:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@393 6d9bc8c9-1ec2-4278-b937-99fde70a366f

web/opac/skin/default/js/rdetail.js

index 726f195..139d02f 100644 (file)
@@ -577,7 +577,7 @@ function _rdetailRows(node) {
        if( rdetailShowLocal && getLocation() != globalOrgTree.id() ) {
                var loc = findOrgUnit(getLocation());
                if( node ) {
-                       if( !orgIsMine(node, loc) ) return;
+                       if( !orgIsMine(node, loc) && !orgIsMine(loc, node) ) return;
                } else {
                        for( var i = 0; i < globalOrgTree.children().length; i++ ) {
                                var org = findOrgUnit(globalOrgTree.children()[i]);