Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#15733 closed Cleanup/optimization (fixed)

Do not pre-select logged in user by default in Trac ticket query

Reported by: Julien Phalip Owned by: Jacob
Component: * Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


If you're logged in to Trac and go to the 'Owner' filter is pre-selected by default with your username. I use this query tool a lot but I rarely have any tickets assigned to me (plus I don't really care about this filter when I do queries), so I find myself constantly removing that filter every time I visit that page. This is annoying :-)

I think this filter should be removed by default, as I think the case where people want to see tickets assigned to themselves by default is a much rarer use case.

Change History (5)

comment:1 Changed 8 years ago by Jacob

Easy pickings: unset
Owner: changed from nobody to Jacob
Triage Stage: UnreviewedAccepted

I'm not sure how easy this is to do, but if it's not too bad I'll do it. Anyone know what's involved?

comment:2 Changed 8 years ago by Jannis Leidel

Apparently, it's as simple as modifying the options default_query and/or default_anonymous_query in the [query] section of the trac.ini.

Which query should it have instead? Just the non-closed tickets?

comment:3 Changed 8 years ago by Julien Phalip

@jezdez: Thanks for looking this up! Yes, just the non-closed tickets would be perfect. Basically the same as it is currently, but without the "owner" filter pre-selected.

comment:4 Changed 8 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

Fixed as well as the annoying auto-logout when closing the browser. The Trac auth cookie lives for two weeks now. \o/

comment:5 Changed 8 years ago by Julien Phalip

@jezdez: Yay - no more "Oops, that was me" comments after posting anonymously by mistake! :)

Note: See TracTickets for help on using tickets.
Back to Top