X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_tax_exempt_pkg.cgi;h=3a5155ae8d096a298f2a8b069aed84c4fcb0d1a3;hb=8dba5cb96454bf8ec81333ebac381180731396f1;hp=604502d6ff7fe365a36761971c06d244842afe8d;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;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+)$/ ) {