Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#15733 closed Cleanup/optimization (fixed)

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

Reported by: julien 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:


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 5 years ago by jacob

  • Easy pickings unset
  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to jacob
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 5 years ago by jezdez

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 5 years ago by julien

@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 5 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

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 5 years ago by julien

@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