Seeing closed tickets on Trac tickets page...

Zero King l2dy at macports.org
Mon Apr 30 14:30:51 UTC 2018


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.

>Perry
>-- 
>Perry E. Metzger		pmetzger at macports.org

-- 
Zero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3612 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20180430/ea85bc6c/attachment.bin>


More information about the macports-dev mailing list