Modify ↓
#1537 closed enhancement (fixed)
Query in verbose mode to use wiki format
Reported by: | PBruin | Owned by: | daniel |
---|---|---|---|
Priority: | low | Milestone: | 0.9 |
Component: | report system | Version: | devel |
Severity: | normal | Keywords: | query, verbose, wiki |
Cc: | peter.bruin@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Use wiki_to_html when displaying a query in verbose mode. This way ticket descriptions that use tables and other wiki formatting become readable and give a very nice overview.
Index: Query.py =================================================================== --- Query.py (revision 1656) +++ Query.py (working copy) @@ -585,8 +585,8 @@ ticket['changed'] = 1 ticket['time'] = strftime('%c', localtime(ticket['time'])) if ticket.has_key('description'): - ticket['description'] = wiki_to_oneliner(ticket['description'] or '', - self.env, db) + ticket['description'] = wiki_to_html(ticket['description'] or '', + self.env, req, db) req.session['query_tickets'] = ' '.join([str(t['id']) for t in tickets])
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Thank you for the suggestion. Patch applied in [1537].