summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-03-31 23:07:19 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-03-31 23:07:19 -0500
commit779cc1bc17634087c10030efb14b2bdd68ec03b3 (patch)
tree5cff9213c472315ee32a809ab61e0e5f88cef21a
parent5475fa54aec264ca615352a6d6288b94a3f16ad0 (diff)
RT#39958 Service Provisioning History - New Requirement [bug fix]
-rw-r--r--httemplate/view/cust_main/change_history.html4
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