Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 15 years ago

#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)

Change History (2)

comment:1 by Christian Boos, 20 years ago

Resolution: fixed
Status: newclosed

Thank you for the suggestion. Patch applied in [1537].

comment:2 by Christian Boos, 20 years ago

I meant applied in [1657] of course!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.