wiki:TracQuery

Version 2 (modified by trac, 3 years ago) ( diff )

--

Trac Ticket Queries

In addition to reports, Trac provides support for custom ticket queries, which can be used to display tickets that meet specified criteria.

To configure and execute a custom query, switch to the View Tickets module from the navigation bar, and select the Custom Query link.

Filters

When you first go to the query page, the default filter will display tickets relevant to you:

  • If logged in then all open tickets, it will display open tickets assigned to you.
  • If not logged in but you have specified a name or email address in the preferences, then it will display all open tickets where your email (or name if email not defined) is in the CC list.
  • If not logged in and no name/email is defined in the preferences, then all open issues are displayed.

Current filters can be removed by clicking the button to the left with the minus sign on the label. New filters are added from the pulldown lists at the bottom corners of the filters box; 'And' conditions on the left, 'Or' conditions on the right. Filters with either a text box or a pulldown menu of options can be added multiple times to perform an Or on the criteria.

You can use the fields just below the filters box to group the results based on a field, or display the full description for each ticket.

After you have edited your filters, click the Update button to refresh your results.

Some shortcuts can be used to manipulate checkbox filters.

  • Clicking on a filter row label toggles all checkboxes.
  • Pressing the modifier key while clicking on a filter row label inverts the state of all checkboxes.
  • Pressing the modifier key while clicking on a checkbox selects the checkbox and deselects all other checkboxes in the filter.

The modifier key is platform and browser dependent. On Mac the modified key is Option/Alt or Command. On Linux the modifier key is Ctrl + Alt. Opera on Windows seems to use Ctrl + Alt, while Alt is effective for other Windows browsers.

Clicking on one of the query results will take you to that ticket. You can navigate through the results by clicking the Next Ticket or Previous Ticket links just below the main menu bar, or click the Back to Query link to return to the query page.

You can safely edit any of the tickets and continue to navigate through the results using the Next/Previous/Back to Query links after saving your results. When you return to the query any tickets which were edited will be displayed with italicized text. If one of the tickets was edited such that it no longer matches the query criteria , the text will also be greyed. Lastly, if a new ticket matching the query criteria has been created, it will be shown in bold.

The query results can be refreshed and cleared of these status indicators by clicking the Update button again.

Saving Queries

Trac allows you to save the query as a named query accessible from the reports module. To save a query ensure that you have Updated the view and then click the Save query button displayed beneath the results. You can also save references to queries in Wiki content, as described below.

Note: one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click Save query. This will build the query string for you. All you need to do is remove the extra line breaks.

Note: you must have the REPORT_CREATE permission in order to save queries to the list of default reports. The Save query button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.

You may want to save some queries so that you can come back to them later. You can do this by making a link to the query from any Wiki page.

[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]

Which is displayed as:

Active tickets against 1.0

This uses a very simple query language to specify the criteria, see Query Language.

Alternatively, you can copy the query string of a query and paste that into the Wiki link, including the leading ? character:

[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]

Which is displayed as:

Assigned tickets by owner

Customizing the table format

You can also customize the columns displayed in the table format (format=table) by using col=<field>. You can specify multiple fields and what order they are displayed in by placing pipes (|) between the columns:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]

This is displayed as:

Results (1 - 3 of 10507)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#11320 invalid GK2 subtitle compatibility not working as it should. sluicebox abogard
#11314 invalid freddypharkas-fr: Warning about missing / corrupt files when starting game. sluicebox bruno-mac-douglas
#11312 fixed KYRA: Kyrandia 3. Some graphics issues athrxx ctoroman
1 2 3 4 5 6 7 8 9 10 11

Full rows

In table format you can also have full rows by using rows=<field>:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter,rows=description)]]

This is displayed as:

Results (1 - 3 of 10507)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#11320 invalid GK2 subtitle compatibility not working as it should. sluicebox abogard
Description

Hello. I couldn't get this to work properly. The current english subtitles patch was first created for the spanish language, some guy just substituted the text to get it working in english. In game the subtitles show and for movies they work great but when you're in the exploring parts you can see the subtitle but the voice file don't play. Also the subtitles are showing in the bottom screen and the middle of the screen (they effectively show twice at the same time), the patch as it works in vanilla (namely DOSBOX) is showing the subtitles in the bottom part of the screen only, outside the gameplay area. I tried with the file versions of my original discs and the GOG version. This is what I get in the log:

[2020-01-12 10:35:24] --- Log opened. [2020-01-12 10:35:24] WARNING: No voice is available for language: es! [2020-01-12 10:35:57] WARNING: Resource type mismatch loading audio36.210(23, 62, 0, 1)! [2020-01-12 10:35:57] WARNING: resMan: Failed to read audio36.210(23, 62, 0, 1)! [2020-01-12 10:35:57] WARNING: [Audio32::play]: audio36.210(23, 62, 0, 1) could not be found!

I'm attaching 3 screenshots. The first shows Scummvm, the second is the Scummvm status window and the third is DOSBOX. You can see in DOSBOX the subtitles are shown in the bottom part of the screen, besides that the audio with the actual speech is heard as well.

#11314 invalid freddypharkas-fr: Warning about missing / corrupt files when starting game. sluicebox bruno-mac-douglas
Description

hello

same problem has been resolved recently on gk2-fr (https://bugs.scummvm.org/ticket/11014)

and same problem happened with lsl7-fr (I just opened another ticket: https://bugs.scummvm.org/ticket/11315#ticket)

Missing / corrupted files message at the start of the game :

WARNING: Volume version not detected, but map version has been detected. Setting volume version to map version! WARNING: Resource audio.2939 from RESOURCE.000 points beyond end of RESOURCE.AUD (0 >= 0)! WARNING: Resource audio.2134 from RESOURCE.000 points beyond end of RESOURCE.AUD (2575 >= 0)! WARNING: Resource audio.2117 from RESOURCE.000 points beyond end of RESOURCE.AUD (34968 >= 0)! WARNING: Resource audio.2119 from RESOURCE.000 points beyond end of RESOURCE.AUD (37338 >= 0)! WARNING: Resource audio.2115 from RESOURCE.000 points beyond end of RESOURCE.AUD (49295 >= 0)! WARNING: Resource audio.2120 from RESOURCE.000 points beyond end of RESOURCE.AUD (55562 >= 0)! WARNING: Resource audio.2912 from RESOURCE.000 points beyond end of RESOURCE.AUD (59900 >= 0)! WARNING: Resource audio.2231 from RESOURCE.000 points beyond end of RESOURCE.AUD (64469 >= 0)! WARNING: Resource audio.2950 from RESOURCE.000 points beyond end of RESOURCE.AUD (70948 >= 0)! WARNING: Resource audio.2814 from RESOURCE.000 points beyond end of RESOURCE.AUD (74711 >= 0)! WARNING: Resource audio.2109 from RESOURCE.000 points beyond end of RESOURCE.AUD (80325 >= 0)! WARNING: Resource audio.2542 from RESOURCE.000 points beyond end of RESOURCE.AUD (128846 >= 0)! WARNING: Resource audio.2145 from RESOURCE.000 points beyond end of RESOURCE.AUD (135477 >= 0)! WARNING: Resource audio.2549 from RESOURCE.000 points beyond end of RESOURCE.AUD (148553 >= 0)! WARNING: Resource audio.2552 from RESOURCE.000 points beyond end of RESOURCE.AUD (150506 >= 0)! WARNING: Resource audio.2102 from RESOURCE.000 points beyond end of RESOURCE.AUD (153213 >= 0)! WARNING: Resource audio.2606 from RESOURCE.000 points beyond end of RESOURCE.AUD (162203 >= 0)! WARNING: Resource audio.2566 from RESOURCE.000 points beyond end of RESOURCE.AUD (166958 >= 0)! WARNING: Resource audio.2642 from RESOURCE.000 points beyond end of RESOURCE.AUD (171906 >= 0)! WARNING: Resource audio.2233 from RESOURCE.000 points beyond end of RESOURCE.AUD (175303 >= 0)! WARNING: Resource audio.2643 from RESOURCE.000 points beyond end of RESOURCE.AUD (180592 >= 0)! WARNING: Resource audio.2662 from RESOURCE.000 points beyond end of RESOURCE.AUD (181744 >= 0)! WARNING: Resource audio.2121 from RESOURCE.000 points beyond end of RESOURCE.AUD (221954 >= 0)! WARNING: Resource audio.2105 from RESOURCE.000 points beyond end of RESOURCE.AUD (223635 >= 0)! WARNING: Resource audio.2919 from RESOURCE.000 points beyond end of RESOURCE.AUD (224466 >= 0)! WARNING: Resource audio.2321 from RESOURCE.000 points beyond end of RESOURCE.AUD (232898 >= 0)! WARNING: Resource audio.2205 from RESOURCE.000 points beyond end of RESOURCE.AUD (234161 >= 0)! WARNING: Resource audio.2207 from RESOURCE.000 points beyond end of RESOURCE.AUD (242181 >= 0)! WARNING: Resource audio.2204 from RESOURCE.000 points beyond end of RESOURCE.AUD (256270 >= 0)! WARNING: Resource audio.2208 from RESOURCE.000 points beyond end of RESOURCE.AUD (268504 >= 0)! WARNING: Resource audio.2804 from RESOURCE.000 points beyond end of RESOURCE.AUD (270886 >= 0)! WARNING: Resource audio.2209 from RESOURCE.000 points beyond end of RESOURCE.AUD (275479 >= 0)! WARNING: Resource audio.2941 from RESOURCE.000 points beyond end of RESOURCE.AUD (277896 >= 0)! WARNING: Resource audio.2911 from RESOURCE.000 points beyond end of RESOURCE.AUD (285528 >= 0)! WARNING: Resource audio.2237 from RESOURCE.000 points beyond end of RESOURCE.AUD (301257 >= 0)! WARNING: Resource audio.2266 from RESOURCE.000 points beyond end of RESOURCE.AUD (343239 >= 0)! WARNING: Resource audio.2147 from RESOURCE.000 points beyond end of RESOURCE.AUD (345169 >= 0)! WARNING: Resource audio.2951 from RESOURCE.000 points beyond end of RESOURCE.AUD (349292 >= 0)! WARNING: Resource audio.2267 from RESOURCE.000 points beyond end of RESOURCE.AUD (353056 >= 0)! WARNING: Resource audio.2124 from RESOURCE.000 points beyond end of RESOURCE.AUD (357556 >= 0)! WARNING: Resource audio.2122 from RESOURCE.000 points beyond end of RESOURCE.AUD (362494 >= 0)! WARNING: Resource audio.2126 from RESOURCE.000 points beyond end of RESOURCE.AUD (365175 >= 0)! WARNING: Resource audio.2129 from RESOURCE.000 points beyond end of RESOURCE.AUD (371191 >= 0)! WARNING: Resource audio.2123 from RESOURCE.000 points beyond end of RESOURCE.AUD (387123 >= 0)! WARNING: Resource audio.2624 from RESOURCE.000 points beyond end of RESOURCE.AUD (399918 >= 0)! WARNING: Resource audio.2125 from RESOURCE.000 points beyond end of RESOURCE.AUD (410994 >= 0)! WARNING: Resource audio.2700 from RESOURCE.000 points beyond end of RESOURCE.AUD (412192 >= 0)! WARNING: Resource audio.2133 from RESOURCE.000 points beyond end of RESOURCE.AUD (415956 >= 0)! WARNING: Resource audio.2942 from RESOURCE.000 points beyond end of RESOURCE.AUD (430068 >= 0)! WARNING: Resource audio.2261 from RESOURCE.000 points beyond end of RESOURCE.AUD (453452 >= 0)! WARNING: Resource audio.2264 from RESOURCE.000 points beyond end of RESOURCE.AUD (479440 >= 0)! WARNING: Resource audio.2262 from RESOURCE.000 points beyond end of RESOURCE.AUD (492506 >= 0)! WARNING: Resource audio.2268 from RESOURCE.000 points beyond end of RESOURCE.AUD (518494 >= 0)! WARNING: Resource audio.2311 from RESOURCE.000 points beyond end of RESOURCE.AUD (523923 >= 0)! WARNING: Resource audio.2543 from RESOURCE.000 points beyond end of RESOURCE.AUD (529358 >= 0)! WARNING: Resource audio.2541 from RESOURCE.000 points beyond end of RESOURCE.AUD (530632 >= 0)! WARNING: Resource audio.2270 from RESOURCE.000 points beyond end of RESOURCE.AUD (531539 >= 0)! WARNING: Resource audio.2952 from RESOURCE.000 points beyond end of RESOURCE.AUD (548337 >= 0)! WARNING: Resource audio.2800 from RESOURCE.000 points beyond end of RESOURCE.AUD (564811 >= 0)! WARNING: Resource audio.2112 from RESOURCE.000 points beyond end of RESOURCE.AUD (573301 >= 0)! WARNING: Resource audio.2664 from RESOURCE.000 points beyond end of RESOURCE.AUD (575231 >= 0)! WARNING: Resource audio.2743 from RESOURCE.000 points beyond end of RESOURCE.AUD (576505 >= 0)! WARNING: Resource audio.2944 from RESOURCE.000 points beyond end of RESOURCE.AUD (577826 >= 0)! WARNING: Resource audio.2926 from RESOURCE.000 points beyond end of RESOURCE.AUD (585019 >= 0)! WARNING: Resource audio.2737 from RESOURCE.000 points beyond end of RESOURCE.AUD (588468 >= 0)! WARNING: Resource audio.2748 from RESOURCE.000 points beyond end of RESOURCE.AUD (592866 >= 0)! WARNING: Resource audio.2101 from RESOURCE.000 points beyond end of RESOURCE.AUD (595399 >= 0)! WARNING: Resource audio.2269 from RESOURCE.000 points beyond end of RESOURCE.AUD (598557 >= 0)! WARNING: Resource audio.2801 from RESOURCE.000 points beyond end of RESOURCE.AUD (615438 >= 0)! WARNING: Resource audio.2805 from RESOURCE.000 points beyond end of RESOURCE.AUD (627356 >= 0)! WARNING: Resource audio.2810 from RESOURCE.000 points beyond end of RESOURCE.AUD (636594 >= 0)! WARNING: Resource audio.2747 from RESOURCE.000 points beyond end of RESOURCE.AUD (643323 >= 0)! WARNING: Resource audio.2811 from RESOURCE.000 points beyond end of RESOURCE.AUD (653412 >= 0)! WARNING: Resource audio.2692 from RESOURCE.000 points beyond end of RESOURCE.AUD (658189 >= 0)! WARNING: Resource audio.2946 from RESOURCE.000 points beyond end of RESOURCE.AUD (667362 >= 0)! WARNING: Resource audio.2691 from RESOURCE.000 points beyond end of RESOURCE.AUD (682739 >= 0)! WARNING: Resource audio.2751 from RESOURCE.000 points beyond end of RESOURCE.AUD (690877 >= 0)! WARNING: Resource audio.2765 from RESOURCE.000 points beyond end of RESOURCE.AUD (701887 >= 0)! WARNING: Resource audio.2762 from RESOURCE.000 points beyond end of RESOURCE.AUD (704754 >= 0)! WARNING: Resource audio.2736 from RESOURCE.000 points beyond end of RESOURCE.AUD (707583 >= 0)! WARNING: Resource audio.2763 from RESOURCE.000 points beyond end of RESOURCE.AUD (711784 >= 0)! WARNING: Resource audio.2913 from RESOURCE.000 points beyond end of RESOURCE.AUD (721930 >= 0)! WARNING: Resource audio.2766 from RESOURCE.000 points beyond end of RESOURCE.AUD (727902 >= 0)! WARNING: Resource audio.2930 from RESOURCE.000 points beyond end of RESOURCE.AUD (740455 >= 0)! WARNING: Resource audio.2938 from RESOURCE.000 points beyond end of RESOURCE.AUD (751372 >= 0)! WARNING: Resource audio.2928 from RESOURCE.000 points beyond end of RESOURCE.AUD (765091 >= 0)! WARNING: Resource audio.2933 from RESOURCE.000 points beyond end of RESOURCE.AUD (769738 >= 0)! WARNING: Resource audio.2760 from RESOURCE.000 points beyond end of RESOURCE.AUD (782400 >= 0)! WARNING: Resource audio.2935 from RESOURCE.000 points beyond end of RESOURCE.AUD (783240 >= 0)! WARNING: Resource audio.2180 from RESOURCE.000 points beyond end of RESOURCE.AUD (791049 >= 0)! WARNING: Resource audio.2943 from RESOURCE.000 points beyond end of RESOURCE.AUD (813758 >= 0)! WARNING: Resource audio.2945 from RESOURCE.000 points beyond end of RESOURCE.AUD (822764 >= 0)! WARNING: Resource audio.2803 from RESOURCE.000 points beyond end of RESOURCE.AUD (834533 >= 0)! WARNING: Resource audio.2802 from RESOURCE.000 points beyond end of RESOURCE.AUD (849880 >= 0)! WARNING: Resource audio.2641 from RESOURCE.000 points beyond end of RESOURCE.AUD (854362 >= 0)! WARNING: Resource audio.2925 from RESOURCE.000 points beyond end of RESOURCE.AUD (877437 >= 0)! WARNING: Resource audio.2623 from RESOURCE.000 points beyond end of RESOURCE.AUD (881756 >= 0)! WARNING: Resource audio.2918 from RESOURCE.000 points beyond end of RESOURCE.AUD (884202 >= 0)! WARNING: Resource audio.2932 from RESOURCE.000 points beyond end of RESOURCE.AUD (912422 >= 0)! WARNING: Resource audio.2114 from RESOURCE.000 points beyond end of RESOURCE.AUD (924191 >= 0)! WARNING: Resource audio.2116 from RESOURCE.000 points beyond end of RESOURCE.AUD (932747 >= 0)! WARNING: Resource audio.2186 from RESOURCE.000 points beyond end of RESOURCE.AUD (935059 >= 0)! WARNING: Resource audio.2141 from RESOURCE.000 points beyond end of RESOURCE.AUD (963784 >= 0)! WARNING: Resource audio.2118 from RESOURCE.000 points beyond end of RESOURCE.AUD (973190 >= 0)! WARNING: Resource audio.2761 from RESOURCE.000 points beyond end of RESOURCE.AUD (989396 >= 0)! WARNING: Resource audio.2241 from RESOURCE.000 points beyond end of RESOURCE.AUD (1001132 >= 0)! WARNING: Resource audio.2146 from RESOURCE.000 points beyond end of RESOURCE.AUD (1006913 >= 0)! WARNING: Resource audio.2948 from RESOURCE.000 points beyond end of RESOURCE.AUD (1013575 >= 0)! WARNING: Resource audio.2949 from RESOURCE.000 points beyond end of RESOURCE.AUD (1023953 >= 0)! WARNING: Resource audio.2142 from RESOURCE.000 points beyond end of RESOURCE.AUD (1036773 >= 0)! WARNING: Resource audio.2953 from RESOURCE.000 points beyond end of RESOURCE.AUD (1041407 >= 0)! WARNING: Resource audio.2954 from RESOURCE.000 points beyond end of RESOURCE.AUD (1051700 >= 0)! WARNING: Resource audio.2550 from RESOURCE.000 points beyond end of RESOURCE.AUD (1060202 >= 0)!

with today daily build.

thanks! :-)

#11312 fixed KYRA: Kyrandia 3. Some graphics issues athrxx ctoroman
Description

Savegames in bugs-kyr3.zip

Bug1. You are at the far end of the room in the cafe. Relive the squirrel with a fishing rod. When everyone starts to run away, Malcolm will be at the entrance to the cafe.

Bug2. The statue of the mouse merges with the statue of the cat in the background. When you give the mouse cheese, the statues of cats will curl up into balls, and the statue of the mouse will come to the fore.

1 2 3 4 5 6 7 8 9 10 11

Query Language

query: TracLinks and the [[TicketQuery]] macro both use a mini “query language” for specifying query filters. Filters are separated by ampersands (&). Each filter consists of the ticket field name, an operator and one or more values. More than one value are separated by a pipe (|), meaning that the filter matches any of the values. To include a literal & or | in a value, escape the character with a backslash (\).

The available operators are:

= the field content exactly matches one of the values
~= the field content contains one or more of the values
^= the field content starts with one of the values
$= the field content ends with one of the values

All of these operators can also be negated:

!= the field content matches none of the values
!~= the field content does not contain any of the values
!^= the field content does not start with any of the values
!$= the field content does not end with any of the values

The date fields created and modified can be constrained by using the = operator and specifying a value containing two dates separated by two dots (..). Either end of the date range can be left empty, meaning that the corresponding end of the range is open. The date parser understands a few natural date specifications like "3 weeks ago", "last month" and "now", as well as Bugzilla-style date specifications like "1d", "2w", "3m" or "4y" for 1 day, 2 weeks, 3 months and 4 years, respectively. Spaces in date specifications can be omitted to avoid having to quote the query string.

created=2007-01-01..2008-01-01 query tickets created in 2007
created=lastmonth..thismonth query tickets created during the previous month
modified=1weekago.. query tickets that have been modified in the last week
modified=..30daysago query tickets that have been inactive for the last 30 days

See also: TracTickets, TracReports, TracGuide, TicketQuery

Note: See TracWiki for help on using the wiki.