Seeing closed tickets on Trac tickets page...

Perry E. Metzger pmetzger at macports.org
Mon Apr 30 14:40:41 UTC 2018


On Mon, 30 Apr 2018 14:30:51 +0000 Zero King <l2dy at macports.org>
wrote:
> On Mon, Apr 30, 2018 at 10:18:51AM -0400, Perry E. Metzger wrote:
> >On:
> >https://trac.macports.org/wiki/Tickets
> >
> >I see a list of tickets assigned to me, but it includes closed
> >tickets. When I edit the Wiki page, it shows me the query is:
> >
> >TicketQuery(status=!closed,reporter=$USER,or,owner=$USER,col=id|summary|component|port|reporter|owner|time|changetime,order=changetime,desc=1,max=10,format=table)
> >
> >which would seem to indicate that it should not be showing closed
> >tickets.
> >
> >Any ideas?  
> 
> https://trac.macports.org/wiki/TracQuery#QueryLanguage
> >status=closed,keywords~=firefox,or,keywords~=opera 	query
> >closed tickets that contain keyword firefox, or (closed or
> >unclosed) tickets that contain keyword opera  
> 
> The `or` has lower precedence. So use
> TicketQuery(status=!closed,reporter=$USER,or,status=!closed,owner=$USER,col=id|summary|component|port|reporter|owner|time|changetime,order=changetime,desc=1,max=10,format=table)
> instead.

Since that was almost certainly what was originally intended, I'm
going to edit the Wiki.


-- 
Perry E. Metzger		pmetzger at macports.org


More information about the macports-dev mailing list