summaryrefslogtreecommitdiff
path: root/httemplate/search/cdr.html
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-23 00:02:46 +0000
committerlevinse <levinse>2011-06-23 00:02:46 +0000
commit5492ce9db024d9a5db797d39efdda10812154044 (patch)
tree4313d702883d7a2e901dfe433a5cdf4a753440f6 /httemplate/search/cdr.html
parent39eaf5704bd78a458e6734f8ea2f1e07a60d4196 (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 8f70fad4f..16ab57523 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
###