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)
Change History (4)
by , 10 years ago
Attachment: | NotStrikethrough.png added |
---|
comment:1 by , 10 years ago
Milestone: | next-stable-1.0.x → next-major-releases |
---|---|
Priority: | normal → low |
comment:2 by , 9 years ago
by , 9 years ago
Attachment: | MilestoneSearch.png added |
---|
Note:
See TracTickets
for help on using tickets.
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 addrender_search_result
toISearchSource
.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.