X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Findex.html;h=7c21e45054663e000e2da971f12232f40e8707c1;hb=a424170896886d26d20f310c4316c2b48ec6173d;hp=29a3d73a360fb40477b94633353c538ef8a188eb;hpb=57e01509b9c722840218ac65de62d33ab46ea006;p=freeside.git diff --git a/httemplate/index.html b/httemplate/index.html index 29a3d73a3..7c21e4505 100644 --- a/httemplate/index.html +++ b/httemplate/index.html @@ -23,7 +23,8 @@ % "SELECT custnum FROM h_cust_main JOIN cust_main USING ( custnum ) % WHERE ( history_action = 'insert' OR history_action = 'replace_new' ) % AND history_user = ? -% ORDER BY history_date desc LIMIT 1000" # LIMIT 10 +% AND ". $curuser->agentnums_sql( table=>'cust_main' ). +% " ORDER BY history_date desc LIMIT 1000" # LIMIT 10 % ) or die dbh->errstr; % % $sth->execute( getotaker() ) or die $sth->errstr;