The syntax for the filtering clause isn't quite right for the
non-opac-visible org units; remove the braces and win.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
$query->{where}->{'+acp'}->{opac_visible} = 't';
$query->{from}->{'acp'}->{'acpl'}->{filter} = {opac_visible => 't'};
$query->{from}->{'acp'}->{'ccs'}->{filter} = {opac_visible => 't'};
- $query->{where}->{'+aou'}->{opac_visible} = {'t'};
+ $query->{where}->{'+aou'}->{opac_visible} = 't';
}
return $query;