Opened 16 years ago

Closed 16 years ago

#16028 closed enhancement (fixed)

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 (5)

comment:1 Changed 16 years 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?

comment:2 Changed 16 years ago by wsiegrist@…

Status: newassigned

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.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:4 Changed 16 years 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.

comment:5 Changed 16 years ago by wsiegrist@…

Resolution: fixed
Status: assignedclosed

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.