summaryrefslogtreecommitdiff
path: root/httemplate/search/cdr.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-23 00:02:45 +0000
committerlevinse <levinse>2011-06-23 00:02:45 +0000
commitf3e9978acca77b92adcfc24632b21bd39d4cae82 (patch)
treec4b1b7858bed46e3e4f5c3b082af49eb71f6ec61 /httemplate/search/cdr.html
parent5666362a5167aa0dbdcb78cd45f1426b31e8b8c7 (diff)
CDR report: add cdrtypenum search criteria, RT13402
Diffstat (limited to 'httemplate/search/cdr.html')
-rw-r--r--httemplate/search/cdr.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html
index c77fc352f..cefc0fe50 100644
--- a/httemplate/search/cdr.html
+++ b/httemplate/search/cdr.html
@@ -95,6 +95,19 @@ if ( $cgi->param('freesidestatus') eq 'NULL' ) {
}
###
+# cdrtypenum
+###
+
+if ( $cgi->param('cdrtypenum') =~ /^(\d+)$/ ) {
+ $hashref->{'cdrtypenum'} = $1;
+ push @search, "cdrtypenum = $1";
+}
+elsif ( $cgi->param('cdrtypenum') eq 'none' ) {
+ $hashref->{'cdrtypenum'} = '';
+ push @search, "cdrtypenum is null";
+}
+
+###
# termpartNstatus
###