diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-31 23:07:19 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-31 23:19:04 -0500 |
commit | 88a08dcdebbdfe2d9ad223922e3505ee019862ae (patch) | |
tree | 4dbe68fb34ab015fa6b19e67daf886c3af9c24bd | |
parent | 8672cdda3e564f871544d2569c1edc64c711cdbf (diff) |
RT#39958 Service Provisioning History - New Requirement [bug fix]
-rw-r--r-- | httemplate/view/cust_main/change_history.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/change_history.html b/httemplate/view/cust_main/change_history.html index fe11b95f2..d46a4ffde 100644 --- a/httemplate/view/cust_main/change_history.html +++ b/httemplate/view/cust_main/change_history.html @@ -159,10 +159,10 @@ foreach my $table ( keys %tables ) { # but it would spoil database optimizations on this lookup my @svcnumobj = qsearch({ 'select' => 'DISTINCT svcnum', - 'hashref' => { 'custnum' => $cust_main->custnum, - 'history_date' => { op=>'>=', value=>$newer_than } }, + 'hashref' => { 'history_date' => { op=>'>=', value=>$newer_than } }, 'table' => 'h_cust_svc', 'addl_from' => 'JOIN cust_pkg USING (pkgnum)', + 'extra_sql' => ' AND custnum = '. $cust_main->custnum, }); # now grab those svcs explicitly |