See Tom Berezansky's original fix at:
http://git.evergreen-ils.org/?p=evergreen/pines.git;a=commit;h=
adc566e152d10796b73c992a16ae46e69cc3ab77
Some changes to the base code required this fix to be updated.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
where => {id => $filter_orgs}
}
}
- }
- }};
+ },
+ join => { 'parent' => { 'class' => 'aou', 'fkey' => 'parent_ou'} }
+ }
+ }}
+ else {
+ $query->{from}->{acp}->[1] = {aou => {
+ join => { 'parent' => { 'class' => 'aou', 'fkey' => 'parent_ou'} } }
+ };
};
my $ou_sort_param = [$org, $pref_ou ];