From c0c51fa1cc5ced201f290fcd4a880f802e8e36ac Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 21 Mar 2012 00:40:42 -0400 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0