X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_tax_exempt_pkg.cgi;h=3a5155ae8d096a298f2a8b069aed84c4fcb0d1a3;hb=9698815f033fb517adb399dd437e6abc867a8528;hp=604502d6ff7fe365a36761971c06d244842afe8d;hpb=ffb62662ca2b28fd913ca2cffef595cc35c0a52b;p=freeside.git diff --git a/httemplate/search/cust_tax_exempt_pkg.cgi b/httemplate/search/cust_tax_exempt_pkg.cgi index 604502d6f..3a5155ae8 100644 --- a/httemplate/search/cust_tax_exempt_pkg.cgi +++ b/httemplate/search/cust_tax_exempt_pkg.cgi @@ -113,7 +113,7 @@ if ( $beginning || $ending ) { } if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) { - push @where, "agentnum = $1"; + push @where, "cust_main.agentnum = $1"; } if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {