Handle all ways of getting arrays at the leaves
authorMike Rylander <mrylander@gmail.com>
Mon, 26 Mar 2012 14:32:43 +0000 (10:32 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 26 Mar 2012 14:40:07 +0000 (10:40 -0400)
commit25e3f92a4978f24a0ff1a4ab5c83e3b830812098
tree0f745274257ce713bda936af407a42ea0a91f2a3
parent1857016d263752af452fbe123b14d4c355945332
Handle all ways of getting arrays at the leaves

We can get arrays of values be either:
 - ending on a $field within a has_many reltype
 - passing through a path that is a has_many reltype

This detects either and array-ifies the value on the flat row.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Flattener.pm