summaryrefslogtreecommitdiff
path: root/httemplate/search/report_rt_ticket.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-09-24 16:29:46 -0700
committerMark Wells <mark@freeside.biz>2014-09-24 16:29:46 -0700
commita6def4c68914a9d8a282eaa34dcff5f6fd002568 (patch)
tree4e43aa495546ac300a1491294bf922207b084053 /httemplate/search/report_rt_ticket.html
parentdb21275347bb469868e81d4ca2bbed846d95f143 (diff)
change "support time" to use regular ticket time + a custom field, #30921
Diffstat (limited to 'httemplate/search/report_rt_ticket.html')
-rw-r--r--httemplate/search/report_rt_ticket.html20
1 files changed, 6 insertions, 14 deletions
diff --git a/httemplate/search/report_rt_ticket.html b/httemplate/search/report_rt_ticket.html
index a4ceaa6a4..67fc208b6 100644
--- a/httemplate/search/report_rt_ticket.html
+++ b/httemplate/search/report_rt_ticket.html
@@ -6,15 +6,13 @@
<% include ( '/elements/tr-input-beginning_ending.html' ) %>
- <& /elements/tr-td-label.html, label => 'Time category:' &>
- <TD>
- <& /elements/select-rt-customfield.html,
- name => 'cfname',
- lookuptype => 'RT::Transaction',
- valuetype => 'TimeValue',
- empty_label => 'Worked',
+ <& /elements/tr-select.html,
+ label => 'Time category:',
+ field => 'category',
+ options => [ '', 'development', 'support' ],
+ option_labels => { '' => 'all' },
+ curr_value => 'development',
&>
- </TD></TR>
<% include ( '/elements/tr-select-otaker.html' ) %>
@@ -71,10 +69,4 @@ $CFs->Limit(FIELD => 'LookupType',
$CFs->Limit(FIELD => 'Type',
VALUE => 'TimeValue');
-my @time_fields = ('', 'Worked');
-while (my $CF = $CFs->Next) {
- push @time_fields, $CF->Name, ($CF->Description || $CF->Name);
-}
-
-
</%init>