[Rt-commit] r19665 - rt/3.8/trunk/share/html/Search

elacour at bestpractical.com elacour at bestpractical.com
Thu May 14 08:57:04 EDT 2009


Author: elacour
Date: Thu May 14 08:56:36 2009
New Revision: 19665

Modified:
   rt/3.8/trunk/share/html/Search/Chart.html

Log:
Add ability to change graph groupby and type once the graph is displayed.
(closes: #13479)

Modified: rt/3.8/trunk/share/html/Search/Chart.html
==============================================================================
--- rt/3.8/trunk/share/html/Search/Chart.html	(original)
+++ rt/3.8/trunk/share/html/Search/Chart.html	Thu May 14 08:56:36 2009
@@ -84,5 +84,13 @@
 <& /Elements/ListActions, actions => \@actions &>
 <& /Search/Elements/Chart, %ARGS &>
 
+<br />
+<&| /Widgets/TitleBox, title => loc('Graph Properties')&>
+<form method="get" action="<%RT->Config->Get('WebPath')%>/Search/Chart.html">
+<input type="hidden" class="hidden" name="Query" value="<% $Query %>" />
+<&|/l, $m->scomp('Elements/SelectChartType', Name => 'ChartStyle', Default => $ChartStyle), $m->scomp('Elements/SelectGroupBy', Name => 'PrimaryGroupBy', Query => $Query, Default => $PrimaryGroupBy) 
+&>[_1] chart by [_2]</&><input type="submit" class="button" value="<%loc('Update Graph')%>" />
+</form>
+</&>
 
 <& /Widgets/SavedSearch:show, %ARGS, Action => 'Chart.html', self => $saved_search, Title => loc('Saved charts') &>


More information about the Rt-commit mailing list