diff options
| author | Mark Wells <mark@freeside.biz> | 2013-02-05 16:23:29 -0800 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-02-05 16:23:29 -0800 |
| commit | fed12e8214a8a951377961ccbe7a09171b1e38c2 (patch) | |
| tree | b3c902ff90c7397d49716844506a81f921ad9fa4 /httemplate/search/svc_external.cgi | |
| parent | fc8d730d0a7b31b617c963c5619bd3f45c5c3eb6 (diff) | |
make customer location columns available in various reports, #940
Diffstat (limited to 'httemplate/search/svc_external.cgi')
| -rwxr-xr-x | httemplate/search/svc_external.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/svc_external.cgi b/httemplate/search/svc_external.cgi index cb51d44fd..7d57697b1 100755 --- a/httemplate/search/svc_external.cgi +++ b/httemplate/search/svc_external.cgi @@ -90,7 +90,7 @@ if ( $cgi->param('magic') =~ /^(all|unlinked)$/ ) { my $addl_from = ' LEFT JOIN cust_svc USING ( svcnum ) '. ' LEFT JOIN part_svc USING ( svcpart ) '. ' LEFT JOIN cust_pkg USING ( pkgnum ) '. - ' LEFT JOIN cust_main USING ( custnum ) '; + FS::UI::Web::join_cust_main('cust_pkg', 'cust_pkg'); #here is the agent virtualization push @extra_sql, $FS::CurrentUser::CurrentUser->agentnums_sql( |
