New version of actor.org_unit_ancestors
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 11 Aug 2011 13:35:18 +0000 (09:35 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 11 Aug 2011 13:36:15 +0000 (09:36 -0400)
commit820eefe47b76b76b6025083208fc574d170085fb
tree900d58ac114d9a1dd41d211be59a13bbde9f2dbd
parent48612c1974a36a3a17c26e2e083fe239cc06e3fa
New version of actor.org_unit_ancestors

Preserves order through joins

Basically actor.org_unit_ancestors_distance with a join to get the
entire org units, rather than just IDs and a distance.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/sql/Pg/020.schema.functions.sql