From: Dan Scott Date: Wed, 21 Mar 2012 04:40:42 +0000 (-0400) Subject: TPAC: Fix filtering of org units in record details X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c3bc5d29caf56954924156d0859808a8575dccdf;p=working%2FEvergreen.git TPAC: Fix filtering of org units in record details 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 Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index ac2c1e5b1e..4e57c726db 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -252,7 +252,7 @@ sub mk_copy_query { $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;