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=c0c51fa1cc5ced201f290fcd4a880f802e8e36ac;p=contrib%2FConifer.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 Signed-off-by: Mike Rylander --- 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 a0372ac21d..307e321dc5 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;