Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16028 (closed enhancement: fixed)

Opened 5 months ago

Last modified 5 weeks ago

Add search form for just summaries and portnames

Reported by: wsiegrist@… Owned by: wsiegrist@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: trac 0.11 plugin Cc: blb@…
Port:

Description

Most users just want to search for tickets about their specific port, and the default Trac search form is too global. The custom query form takes time to build the query each time. We should have a form somewhere that is better at "find <open|closed> tickets for port <foo>". A Trac Plugin should work for this, but none currently exist(?), so we have to write it.

Change History

Changed 5 months ago by blb@…

  • cc blb@… added

Would this just search for port <foo> in the summary (and not necessarily be port-specific) or something else?

Changed 5 months ago by wsiegrist@…

  • status changed from new to assigned

I have another ticket (#15210) for adding a portname field to tickets, so this would also search that. But sounds like Summary searching gives the best results, so it'll search those as well.

Changed 5 months ago by ryandesign@…

A working example search form is attached to this mail message.

Changed 6 weeks ago by wsiegrist@…

I've added a plugin that provides the new "Ticket Port & Summary" search. It returns all tickets, regardless of state, much like the existing Ticket search. Unlike the existing Ticket search, it does _not_ search comments and description, but it _does_ search the port field.

I added two new links in the left nav for "Ticket Search" and "Ticket Query". The first of which is a shortcut to the search module with just this new filter. The 2nd is a pre-made custom query that has a Summary and Port field already.

Changed 5 weeks ago by wsiegrist@…

  • status changed from assigned to closed
  • resolution set to fixed

Closing the ticket since no one has objected so far. If there's anything else people want with the search please file new tickets against server/hosting.

Note: See TracTickets for help on using tickets.