X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcdr.html;h=d0d7292d1d2fd03cb15e6aa1ff084eb407116662;hb=2ee09c1343daa939da146c102dbca72f0a98d2bf;hp=4bac8c1f9d35f5a6fdd712f7499e938fa5cbeaf4;hpb=1203e278e2ec38fcf1468da2e4f10862004bebeb;p=freeside.git diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html index 4bac8c1f9..d0d7292d1 100644 --- a/httemplate/search/cdr.html +++ b/httemplate/search/cdr.html @@ -1,15 +1,33 @@ <% include( 'elements/search.html', 'title' => $title, 'name' => 'call detail records', - 'query' => { 'table' => 'cdr', - 'hashref' => $hashref, - 'extra_sql' => $qsearch, - 'order_by' => 'ORDER BY calldate', - }, + 'query' => $query, 'count_query' => $count_query, - 'header' => [ fields('cdr') ], #XXX fill in some nice names - 'fields' => [ fields('cdr') ], #XXX fill in some pretty-print - # processing, etc. + 'count_addl' => $nototalminutes ? '' : [ $totalminutes_sub ], + 'disable_total' => $topmode ? 1 : '', + 'header' => \@header, + 'fields' => \@fields, + 'links' => \@links, + 'html_form' => qq!