summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main.html
diff options
context:
space:
mode:
authorivan <ivan>2010-09-17 23:32:33 +0000
committerivan <ivan>2010-09-17 23:32:33 +0000
commit9b05a3660eabd3215bdebf9429eb490b41570436 (patch)
treeeac12c091ec6971a80ea6f10dc3627d7b4017a1a /httemplate/search/cust_main.html
parent5a52da30588e8811338845ce2edaf0631acad479 (diff)
refactor giant cust_main.pm a little in preparation of adding API methods for maestro, RT#9967
Diffstat (limited to 'httemplate/search/cust_main.html')
-rwxr-xr-xhttemplate/search/cust_main.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html
index 4465c3324..b6db4e434 100755
--- a/httemplate/search/cust_main.html
+++ b/httemplate/search/cust_main.html
@@ -84,7 +84,7 @@ $search_hash{'current_balance'} =
# etc
###
-my $sql_query = FS::cust_main->search(\%search_hash);
+my $sql_query = FS::cust_main::Search->search(\%search_hash);
my $count_query = delete($sql_query->{'count_query'});
my @extra_headers = @{ delete($sql_query->{'extra_headers'}) };
my @extra_fields = @{ delete($sql_query->{'extra_fields'}) };