[Rt-commit] r11868 - in rt/branches/3.8-TESTING: html/Tools/Reports
jesse at bestpractical.com
jesse at bestpractical.com
Thu Apr 24 08:27:52 EDT 2008
Author: jesse
Date: Thu Apr 24 08:27:52 2008
New Revision: 11868
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/html/Tools/Reports/CreatedByDates.html
rt/branches/3.8-TESTING/html/Tools/Reports/ResolvedByDates.html
Log:
r30052 at 115: jesse | 2008-04-24 08:27:37 -0400
RT-Ticket: 9219
RT-Status: resolved
RT-Update: correspond
* Patch from elacour to use date widgets in the created/resolved reports
Modified: rt/branches/3.8-TESTING/html/Tools/Reports/CreatedByDates.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Tools/Reports/CreatedByDates.html (original)
+++ rt/branches/3.8-TESTING/html/Tools/Reports/CreatedByDates.html Thu Apr 24 08:27:52 2008
@@ -86,9 +86,9 @@
<br /><&|/l&>Queue</&>: <& /Elements/SelectQueue, Name => 'Queue', NamedValues => 1, Default => $q->id &>
<br /><&|/l&>Tickets created after</&>:
-<input size="20" name="CreatedAfter" value="<%$CreatedAfter || ''%>" />
+<& /Elements/SelectDate, Name => 'CreatedAfter', Default => ($CreatedAfter) ? $after->ISO : ''&>
<br /><&|/l&>Tickets created before</&>:
-<input size="20" name="CreatedBefore" value="<%$CreatedBefore || ''%>" />
+<& /Elements/SelectDate, Name => 'CreatedBefore', Default => ($CreatedBefore) ? $before->ISO : ''&>
<& /Elements/Submit&>
</form>
Modified: rt/branches/3.8-TESTING/html/Tools/Reports/ResolvedByDates.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Tools/Reports/ResolvedByDates.html (original)
+++ rt/branches/3.8-TESTING/html/Tools/Reports/ResolvedByDates.html Thu Apr 24 08:27:52 2008
@@ -87,9 +87,9 @@
<br /><&|/l&>Queue</&>: <& /Elements/SelectQueue, Name => 'Queue', NamedValues => 1, Default => $q->id &>
<br /><&|/l&>Tickets resolved after</&>:
-<input size="20" name="ResolvedAfter" value="<%$ResolvedAfter || ''%>" />
+<& /Elements/SelectDate, Name => 'ResolvedAfter', Default => ($ResolvedAfter) ? $after->ISO : ''&>
<br /><&|/l&>Tickets resolved before</&>:
-<input size="20" name="ResolvedBefore" value="<%$ResolvedBefore || ''%>" />
+<& /Elements/SelectDate, Name => 'ResolvedBefore', Default => ($ResolvedBefore) ? $before->ISO : ''&>
<& /Elements/Submit&>
</form>
More information about the Rt-commit
mailing list