add customer sort header to credit report, RT#26025
authorIvan Kohler <ivan@freeside.biz>
Tue, 25 Mar 2014 19:19:12 +0000 (12:19 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 25 Mar 2014 19:19:12 +0000 (12:19 -0700)
httemplate/search/cust_credit.html

index 4526171..18908fd 100755 (executable)
@@ -63,8 +63,8 @@ push @fields, sub { time2str('%b %d %Y', shift->_date ) },
               'reason',
               \&FS::UI::Web::cust_fields,
               ;
-push @sort_fields, '_date', 'otaker', 'reason';
-$align .= 'rll'.FS::UI::Web::cust_aligns(),
+push @sort_fields, '_date', 'otaker', 'reason', FS::UI::Web::cust_sort_fields();
+$align .= 'rll'.FS::UI::Web::cust_aligns();
 push @links,  '',
               '',
               '',