-------- Original Message  --------
Subject: [Trac] Re: custom query configuration
From: Chris Carr <[email protected]>
To: [email protected]
Date: Mon Oct 26 2009 15:51:37 GMT+0100 (CET)

>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] On Behalf Of Zdenek Maxa
>> Sent: 26 October 2009 13:28
>> To: [email protected]
>> Subject: [Trac] custom query configuration
>>
>>
>> Hi,
>>
>> I would like to make my custom query to view trac ticket with
>> immediately available under the top link "View Tickets".
>>
>> I found the config section
>> [query]
>> default_anonymous_query=status=accepted&status=assigned&status
>> =new&status=reopened&groupdesc=1&group=component&col=id&col=su
> mmary&col=owner&col=type&col=priority&col=milestone&col=component&order=prio
> rity
>> default_query=status=accepted&status=assigned&status=new&statu
>> s=reopened&groupdesc=1&group=component&col=id&col=summary&col=
> owner&col=type&col=priority&col=milestone&col=component&order=priority
>> where I put the query pasted from the browser. It doesn't seem to make
>> any difference.
>>
>> I haven't found anything related in the FAQ or this mailing 
>> list archive.
> 
> I have exactly the same problem. It was supposed to have been fixed in 
> 
> http://trac.edgewall.org/changeset/7553
> 
> Which was in 0.11.2, but changing the default query still does not work for
> me. I have no idea why - any advice appreciated. Presumably it works for
> everybody else, or there would be a bug report about it somewhere. Or maybe
> other people don't change the default query??
> 
> The query I'm trying to use is
> 
> /query?status=accepted&status=assigned&status=new&status=reopened&group=comp
> onent&max=1000&order=priority&col=id&col=summary&col=priority&col=severity&c
> ol=changetime&owner=chrisc
> 
> (For some reason using !closed does not work to replace all the other status
> elements.)
> 
> CC
> 

Hi again,

I have actually forgot to tell more about what exactly I am using:

Trac:   0.11.5
Python: 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) [GCC 4.3.3]
setuptools:     0.6c9
SQLite: 3.6.10
pysqlite:       2.5.0
Genshi: 0.5.1
jQuery: 1.2.6

THe query is well listed on the 'about trac' page, but doesn't seem to
be used. Searching the Trac wikis, I have found how to use custom
queries from within wiki pages but not on the top link ...
Also I have disabled the report module by
trac.ticket.report.* = disabled
so I am only using queries.

Thanks for help / comments.

CHeers,
Zdenek

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to