Show
Ignore:
Timestamp:
10/03/08 10:40:57 (2 months ago)
Author:
bobbysmith007
Message:

fixes #3833 changed all the null as tickets to 0 as ticket (this still seems like a bug in trac, but one easily enough fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • timingandestimationplugin/branches/trac0.11/setup.py

    r4233 r4382  
    88      description='Plugin to make Trac support time estimation and tracking', 
    99      keywords='trac plugin estimation timetracking', 
    10       version='0.7.0', 
     10      version='0.7.3', 
    1111      url='http://www.trac-hacks.org/wiki/TimingAndEstimationPlugin', 
    1212      license='http://www.opensource.org/licenses/mit-license.php', 
  • timingandestimationplugin/branches/trac0.11/timingandestimationplugin/reports.py

    r3784 r4382  
    99    "uuid":"b24f08c0-d41f-4c63-93a5-25e18a8513c2", 
    1010    "title":"Ticket Work Summary", 
    11     "version":20
     11    "version":21
    1212    "sql":""" 
    1313SELECT __ticket__ as __group__, __style__, ticket, 
     
    5757    "uuid":"af13564f-0e36-4a17-96c0-632dc68d8d14", 
    5858    "title":"Milestone Work Summary", 
    59     "version":17
     59    "version":18
    6060    "sql":""" 
    6161 
     
    8181  UNION 
    8282 
    83   SELECT 'background-color:#DFE;' as __style__, NULL as ticket, 
     83  SELECT 'background-color:#DFE;' as __style__, 0 as ticket, 
    8484    sum( CASE WHEN newvalue = '' OR newvalue IS NULL THEN 0 
    8585         ELSE CAST( newvalue AS DECIMAL ) END) as newvalue, 'Total work done' as summary, 
     
    106106    "uuid":"7bd4b0ce-da6d-4b11-8be3-07e65b540d99", 
    107107    "title":"Developer Work Summary", 
    108     "version":17
     108    "version":18
    109109    "sql":""" 
    110110SELECT author as __group__,__style__, ticket, summary, 
     
    128128  UNION 
    129129 
    130   SELECT 'background-color:#DFE;' as __style__, author, NULL as ticket, 
     130  SELECT 'background-color:#DFE;' as __style__, author, 0 as ticket, 
    131131    Null as summary, 
    132132    SUM( CASE WHEN newvalue = '' OR newvalue IS NULL THEN 0 
     
    149149    },#END Hours Per Developer 
    150150] 
    151 th_version =15 
     151th_version =16 
    152152ticket_hours_reports = [ 
    153153{ 
     
    192192  SELECT '1' AS __color__, 
    193193         'background-color:#DFE;' as __style__, 
    194          NULL as ticket, 'Total' AS summary, 
     194         0 as ticket, 'Total' AS summary, 
    195195         NULL as component,NULL as version, NULL as severity, NULL as  milestone, 
    196196         'Time Remaining: ' as status, 
     
    280280SELECT '1' AS __color__, 
    281281       'background-color:#DFE;' as __style__, 
    282        NULL as ticket, 'Total' AS summary, 
     282       0 as ticket, 'Total' AS summary, 
    283283       NULL as component,NULL as version, NULL as severity, NULL as  milestone, 
    284284       'Time Remaining: ' as status, 
     
    367367       t.component AS __group__, 
    368368       'background-color:#DFE;' as __style__, 
    369        NULL as ticket, 'Total work' AS summary, 
     369       0 as ticket, 'Total work' AS summary, 
    370370       t.component as __component__, NULL as version, NULL as severity, 
    371371       NULL as  milestone, 'Time Remaining: ' as status, 
     
    454454       t.component AS __group__, 
    455455       'background-color:#DFE;' as __style__, 
    456        NULL as ticket, 'Total work' AS summary, 
     456       0 as ticket, 'Total work' AS summary, 
    457457       t.component as __component__, NULL as version, NULL as severity, 
    458458       NULL as  milestone, 'Time Remaining: ' as status, 
     
    540540       t.milestone AS __group__, 
    541541       'background-color:#DFE;' as __style__, 
    542        NULL as ticket, 'Total work' AS summary, 
     542       0 as ticket, 'Total work' AS summary, 
    543543       NULL as component,NULL as version, NULL as severity, 
    544544       t.milestone as  __milestone__, 'Time Remaining: ' as status, 
     
    627627       t.milestone AS __group__, 
    628628       'background-color:#DFE;' as __style__, 
    629        NULL as ticket, 'Total work' AS summary, 
     629       0 as ticket, 'Total work' AS summary, 
    630630       NULL as component,NULL as version, NULL as severity, 
    631631       t.milestone as __milestone__,