#643: Inaccurate timestamps and ticket reporter
------------------------+-----------------------
Reporter: olemis | Owner: rjollos
Type: defect | Status: accepted
Priority: minor | Milestone: Release 8
Component: ui design | Version: 0.6.0
Resolution: | Keywords: ticket
------------------------+-----------------------
Changes (by rjollos):
* owner: nobody => rjollos
* status: new => accepted
* milestone: => Release 8
Comment:
This patch seems to fix the issue:
{{{#!diff
===================================================================
--- bloodhound_theme/bhtheme/theme.py (revision 1517446)
+++ bloodhound_theme/bhtheme/theme.py (working copy)
@@ -363,14 +363,15 @@
is_active)
#add a creation event to the changelog if the ticket exists
- if data['ticket'].exists:
+ ticket = data['ticket']
+ if ticket.exists:
data['changes'] = [{'comment': '',
- 'author': data['author_id'],
+ 'author': ticket['reporter'],
'fields': {u'reported': {'label':
u'Reported'},
},
'permanent': 1,
'cnum': 0,
- 'date': data['start_time'],
+ 'date': ticket['time'],
},
] + data['changes']
#and set default order
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/643#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker