My TicketQuery is not obeying my parameters.

16 views
Skip to first unread message

cornerstone

unread,
Oct 5, 2012, 9:18:14 AM10/5/12
to trac...@googlegroups.com
Hi all!
The following query is supposed to return 2 collumns, but instead returns :
Ticket| Summary| Owner Status| Priority| Resolution| Created

Query:
[[TicketQuery(format=table, col=id|modified)]]

This is the "query" section in my config file:
[query]
default_anonymous_query = status!=closed&cc~=$USER
default_query = status!=closed&owner=$USER
items_per_page = 100
ticketlink_query = ?status=!closed

Thanks,
-Sean

Steffen Hoffmann

unread,
Oct 7, 2012, 8:03:25 AM10/7/12
to trac...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05.10.2012 15:18, cornerstone wrote:
> Hi all!
> The following query is supposed to return 2 collumns, but instead returns :
> Ticket|
> <http://trac.thecornerstonepros.com/cpd/query?report=15&order=id>
> Summary|
...
>
> Query:
> [[TicketQuery(format=table, col=id|modified)]]
>
> This is the "query" section in my config file:
> [query]
> default_anonymous_query = status!=closed&cc~=$USER
> default_query = status!=closed&owner=$USER
> items_per_page = 100
> ticketlink_query = ?status=!closed

Think you or someone else reported this issue before. Unluckily there's
not much to do at this point: Your ticket query works form me (ant
others) exactly like expected, and [query] values are the current
standard values unchanged.

Confusing to me is the fact, that your sort links refer to a report,
while during my tests mine just referred to an (unsaved)
query?max=0&col=id&col=changetime&order=id
so I bet, there is something untold in the way you try to use this
query, probably inside a report?

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBxb4sACgkQ31DJeiZFuHeZTgCfRNumqTuuQ2XRmllA9n5ipaiK
IikAoOAmkYcUkjTS4kjbl9Apsf8Mm/Tv
=ZP9C
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages