Edgewall Software
Modify

Opened 10 years ago

Last modified 9 years ago

#11977 new defect

Attachment title in search results does not render closed ticket with strikethrough

Reported by: Ryan J Ollos Owned by:
Priority: low Milestone: next-major-releases
Component: attachment Version:
Severity: normal Keywords: search
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Ticket #10833 is closed, but the attachment title does not indicate that.

Attachments (2)

NotStrikethrough.png (44.9 KB ) - added by Ryan J Ollos 10 years ago.
MilestoneSearch.png (18.9 KB ) - added by Ryan J Ollos 9 years ago.

Download all attachments as: .zip

Change History (4)

by Ryan J Ollos, 10 years ago

Attachment: NotStrikethrough.png added

comment:1 by Ryan J Ollos, 9 years ago

Milestone: next-stable-1.0.xnext-major-releases
Priority: normallow

comment:2 by Ryan J Ollos, 9 years ago

Turns out this is rather difficult to fix. The title is created in AttachmentModule. In order to render the ticket id in strikethrough the TicketModule adds HTML when creating the ticket search results: tags/trac-1.1.5/trac/ticket/web_ui.py@:221-223#L192. So either the search results for attachments would need to be modified in TicketModule, or perhaps we could add render_search_result to ISearchSource.

If the latter is done, the milestone search results could be improved. Currently just a date is shown, but it would be nice to prefix it with Due or Completed.

by Ryan J Ollos, 9 years ago

Attachment: MilestoneSearch.png added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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