Edgewall Software

Opened 11 years ago

Last modified 11 years ago

#10955 closed defect

Trac Custom Report DO NOT Wikify Custom Field — at Initial Version

Reported by: VYSE.NET@… Owned by:
Priority: normal Milestone:
Component: report system Version: 1.0dev
Severity: normal Keywords: custom wiki verify
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When add one column of custom field like this: SELECT … s.parent AS parent …

custom field (parent)'s format is wiki, but the report renders without wiki style.

This issue not exists in query page, seems below code in query.py fix this:

wikify = set(fname for f in self.fields

if ftype == 'text' and f.get('format') == 'wiki')

headers = [{

'name': col, 'label': labels.get(col, _('Ticket')), 'wikify': col in wikify, 'href': self.get_href(context.href, order=col,

desc=(col == self.order and not self.desc))

} for col in cols]

Change History (0)

Note: See TracTickets for help on using tickets.